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 does 3 periods mean in texting?

0 Answers  


Can you assign a different address to an array tag?

0 Answers  


int a=0,b=2; if (a=0) b=0; else b=*10; What is the value of b ?

6 Answers   TCS,


What is Your Name :)

1 Answers  


Explain the difference between null pointer and void pointer.

0 Answers   TCS,






how to implement stack work as a queue?

2 Answers  


Write a program that will read the input of any number of digits n in a row of shafh showing the breakdown of the printing and printing figures by the recursive function.

0 Answers  


What does c value mean?

0 Answers  


What will be the result of the following program? char*g() { static char x[1024]; return x; } main() { char*g1="First String"; strcpy(g(),g1); g1=g(); strcpy(g1,"Second String"); printf("Answer is:%s", g()); } (A) Answer is: First String (B) Answer is: Second String (C) Run time Error/Core Dump (D) None of these

2 Answers   Oracle,


Is anything faster than c?

0 Answers  


Who is the founder of c language?

0 Answers  


Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.

0 Answers   TCS,


Categories