Which is not valid in C

a) class aClass{public:int x;};

b) /* A comment */

c) char x=12;


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

Post New Answer

More C Interview Questions

what is output of the following statetment?Printf(“%x”, -1<<4); ?

5 Answers  


int *p=20; if u print like dis printf("%d",p); o\p:- 20; how is it possible? plz give me the explanation.

15 Answers   Global Edge,


though sbi was nationalized why its not comes under nationalized banks and its comes under publicsector banks

3 Answers   State Bank Of India SBI,


what is the output of the following program and explain the answer #include<stdio.h> exp() { main(5) } main(int a) { printf("%d",a); return; }

3 Answers   Satyam,


HOW TO SWAP TWO NOS IN ONE STEP?

16 Answers   Satyam,






how does the C compiler interpret the following two statements p=p+x; q=q+y; a. p=p+x; q=q+y b. p=p+xq=q+y c. p=p+xq; q=q+y d. p=p+x/q=q+y

2 Answers   TCS, Tech Synergy,


wap to print "hello world" without using the main function.

22 Answers   TCS, Wipro,


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

0 Answers  


what do structure language means?

3 Answers   Microsoft,


What are linker error?

0 Answers  


Can you think of a way when a program crashed before reaching main? If yes how?

2 Answers  


What is pointer to pointer in c language?

0 Answers  


Categories