int i=10;

printf("%d %d %d", i, i=20, i);





No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer



More C Interview Questions

f(x,y,z) { y = y+1; z = z+x; } main() { int a,b; a = 2 b = 2; f(a+b,a,a); print a; } what is the value of 'a' printed

5 Answers  


which is faster execution: loops or recursion?

3 Answers  


main() { float a=3.2e40; printf("%d",a); }

9 Answers   Satyam,


Write a program to compare two strings without using the strcmp() function

42 Answers   Accenture, Arba Minch University,


Can a binary search tree be used as an index? If yes, how? Explain

0 Answers   TCS,






#include<stdio.h> int SumElement(int *,int); void main(void) { int x[10]; int i=10; for(;i;) { i--; *(x+i)=i; } printf("%d",SumElement(x,10)); } int SumElement(int array[],int size) { int i=0; float sum=0; for(;i<size;i++) sum+=array[i]; return sum; } output?

5 Answers   Ramco,


6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&v); pf("%d%d\n",u,v); } void funct1(int *pu, int *pv) { *pu=0; *pv=0; return; } a)1 3 1 3 b)1 3 1 1 c)1 3 0 0 d)1 1 1 1 e) 3 1 3 1

4 Answers  


How can I set an array's size at run time?

9 Answers  


why 'c' is called middle level language.

2 Answers  


Why is conio.h not required when we save a file as .c and use clrscr() or getch() ?

2 Answers  


what is the output of the program?? #include<stdio.h> main ( ) { int a=010,sum=0,tracker: for(tracker=0;tracker<=a;tracker++) sum+=tracker; printf(ā€œ %d\nā€,sum); } what is the difference between a=10 and a=010??

3 Answers   Oracle,


What is sparse file?

1 Answers  





Categories