if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True"

a) Never

b) Always

c) When the value of i is 0

d) all of the above


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

Post New Answer

More C Interview Questions

/*what is the output for the code*/ void main() { int r; r=printf("naveen"); r=printf(); printf("%d",r); getch(); }

1 Answers   CDAC,


Is boolean a datatype in c?

0 Answers  


Explain how can I convert a number to a string?

0 Answers  


What is the collection of communication lines and routers called?

0 Answers  


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

0 Answers  






What does the c preprocessor do?

0 Answers  


What does c mean before a date?

0 Answers  


Is it possible to use curly brackets ({}) to enclose single line code in c program?

0 Answers  


Write a Program to print this triangle: * ** * **** * ****** * ******** * ********** use two nested loops.

12 Answers   MIT, TCS,


struct ptr { int a; char b; int *p; }abc; what is d sizeof structure without using "sizeof" operator??

9 Answers   Verifone,


what is the output of below pgm? void main() { int i=0; if(i) printf("pass"); else printf("fail"); }

4 Answers  


Write a program in C to convert date displayed in gregorian to julian date

0 Answers   HCL, Wipro,


Categories