`write a program to display the recomended action depends on a color of trafic light using nested if statments


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

Post New Answer

More C Interview Questions

List the variables are used for writing doubly linked list program.

0 Answers   Infosys, Wipro,


main() { float f1=10.5; double db1=10.5 if(f1==db1) printf("a"); else printf("b") }

2 Answers   CSC,


1. What will be the output of the following programs. a) #include <stdio.h> Main() { Int x=4; While(x==1) { X=x-1; Printf(“%d”,x); --x; } }

7 Answers   CSC,


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

0 Answers   Wilco,


What is d scanf?

0 Answers  


Difference between C and Embedded C?

1 Answers  


Why is c called a mid-level programming language?

0 Answers  


Why can’t we compare structures?

0 Answers  


how many header file is in C language ?

44 Answers   College School Exams Tests, CTS, IBM, IMS, Infosys, ME, Sign Solutions, Wipro, XVT,


Explain what is the purpose of "extern" keyword in a function declaration?

0 Answers  


What is a memory leak? How to avoid it?

1 Answers  


#define MAX(x,y) (x) > (y) ? (x) : (y) main() { int i = 10, j = 5, k = 0; k = MAX(i++, ++j); printf("%d %d %d", i,j,k); } what will the values of i , j and k? }

14 Answers   CDAC, GATE, NDS, TCS,


Categories