#include<stdio.h>
int main( )
{
Int a=300, b, c;
if(a>=400)
b=300;
c=200;
printf(“%d%d
”, b, c);
return0;
}



#include<stdio.h> int main( ) { Int..

Answer / sristi

b will print garbage value and c will print 200

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C Interview Questions

how can we Declare a variable in c without defining it.

1 Answers   TCS,


Can you please explain the scope of static variables?

0 Answers  


what is difference between overriding and overloading?

1 Answers  


the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above

0 Answers  


What the advantages of using Unions?

0 Answers   TISL,






main() {char a[10]={1,2,3,4,5,6};int x; for(x=0;x<4;x++){ b[x]=x+'a';} printf("%s",b);}

3 Answers  


can we change the default calling convention in c if yes than how.........?

0 Answers   Aptech,


WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER

0 Answers  


Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?

0 Answers   TCS,


What is the difference b/w main() in C language and main() in C++.

7 Answers  


What is a lvalue

0 Answers   Global Logic,


How to write a C program to determine the smallest among three nos using conditional operator?

2 Answers   Google,


Categories