main()
{
inta=10,b=20;
a>=5?b=100:b=200;
printf("%d
",b);
}


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

Post New Answer

More C Interview Questions

what is the output? #define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t) float gfloat; main() { float a=1.12,b=3.14; fun (a,b,float); printf("na=%4.2f,b=%4.2f",a,b); } A)Error in Defining Macro B)a=1.12,b=3.14 C)a=3.14,b=1.12 D)None of the Above

3 Answers   Accenture, Infosys, Wipro,


Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

0 Answers  


How can I allocate arrays or structures bigger than 64K?

5 Answers  


Is struct oop?

0 Answers  


write an algorithm which can find the largest number among the given list using binary search ............... this was asked in the interview

2 Answers   Satyam, UNIS, Wipro,






Are pointers integers in c?

0 Answers  


What is 'makefile' in C langauage? How it be useful? How to write a makefile to a particular program?

2 Answers  


pgm to find middle element of linklist(in efficent manner)

4 Answers   Huawei,


How to find the digits truncation when assigning the interger variable to the character variables. like int i=500; char x = i : here we have truncation. how to find this. another ex: i =100; char x=i. here we do not have truncation.

1 Answers   HCL,


what is mallloc()?how it works?

4 Answers   Excel,


int far *near * p; means

0 Answers   Honeywell,


What do mean by network ?

0 Answers  


Categories