4. Main()
{
Int i=3,j=2,c=0,m;
m=i&&j||c&I;
printf(“%d%d%d%d”,I,j,c,m);
}

Answers were Sorted based on User's Feedback



4. Main() { Int i=3,j=2,c=0,m; m=i&&j||c&I; printf(“%d%d%d%d”,I,..

Answer / xxx

compilation error at the line number 4.

Is This Answer Correct ?    16 Yes 2 No

4. Main() { Int i=3,j=2,c=0,m; m=i&&j||c&I; printf(“%d%d%d%d”,I,..

Answer / sironmnai

1,2,0,1

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More C Code Interview Questions

Display the time of the system and display the right time of the other country

1 Answers  


main() { int i=400,j=300; printf("%d..%d"); }

3 Answers  


program to Reverse a linked list

12 Answers   Aricent, Microsoft, Ness Technologies,


what will be the output of this program? void main() { int a[]={5,10,15}; int i=0,num; num=a[++i] + ++i +(++i); printf("%d",num); }

3 Answers   Wipro,


Write a routine that prints out a 2-D array in spiral order

3 Answers   Microsoft,






main(){ unsigned int i; for(i=1;i>-2;i--) printf("c aptitude"); }

2 Answers  


void main() { int i=i++,j=j++,k=k++; printf(ā€œ%d%d%dā€,i,j,k); }

1 Answers  


write a program in c to merge two array

2 Answers  


How to read a directory in a C program?

4 Answers  


Write a C program that defines a 2-dimentional integer array called A [50][50]. Then the elements of this array should randomly be initialized either to 1 or 0. The program should then print out all the elements in the diagonal (i.e. a[0][0], a[1][1],a[2][2], a[3][3], ā€¦ā€¦..a[49][49]). Finally, print out how many zeros and ones in the diagonal.

2 Answers  


#define a 10 int main() { printf("%d..",a); foo(); printf("%d..",a); return 0; } void foo() { #undef a #define a 50 }

3 Answers  


How can I Create a C program in splitting set of characters to specific subsets. Example: INPUT SET OF CHARACTERS: Therefore, my dear brothers and sisters, stand firm. Let nothing move you. Always give yourselves fully to the work of the Lord, because you know that your labor in the Lord is not in vain. SPLIT INTO HOW MANY CHARACTERS PER SUBSETS: 10 OUTPUT: Therefore, my dear b rothers an d sisters, stand fir m. Let not hing move you. Alway s give you rselves fu lly to the work of t he Lord, b ecause you know that your labo r in the L ord is not in vain.

0 Answers  


Categories