Elearning , Interview Questions And Answers

Google

} Modify_value() { return (x+=10); } change_value() { return(x+=1); } Ans. 12 1 1 11) Find the output for the following C program main() { int x=10,y=15; x=x++; y=++y; printf("%d %d\n",x,y); } Ans. 11 16 12) Find the output for the following C program main() { int a=0; if(a=0) printf("Ramco Systems\n"); printf("Ramco Systems\n"); } Ans. Ony one time "Ramco Systems" will be printed 13) Find the output for the following C program #include<stdio.h> int SumElement(int *,int); void main(void) { int x[10]; int i=10;