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 sorting in c plus plus?

0 Answers  


to find out the reverse digit of a given number

6 Answers   Infosys, Microsoft, TCS, Wipro,


Explain what standard functions are available to manipulate strings?

0 Answers  


enum colors {BLACK,BLUE,GREEN} main() { printf("%d..%d..%d",BLACK,BLUE,GREEN); return(1); }

4 Answers   ME,


identify the in correct expression a.a=b=3=4; b.a=b=c=d=0; float a=int b=3.5; d.int a; float b; a=b=3.5;

8 Answers   TCS,


Why static is used in c?

0 Answers  


Program to find larger of the two numbers without using if-else,while,for,switch

11 Answers   iNautix, Wipro,


what are the advantage and disadvantage of recursion

5 Answers  


how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

0 Answers  


Write a simple program to find the size of different basic data types in C.

3 Answers  


Why do we need volatile in c?

0 Answers  


what is the output of printf("%d",(scanf("%d",10));

10 Answers  


Categories