Which is not valid in C?




1) class aClass{public:int x;}


2) /* A comment */


3) char x=12;


Answer Posted / sourisengupta

1) class aClass{public:int x;}
3) char x=12;

these twoo are not valid in c.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does. int *x[](); means ?

645


What language is c written?

585


What is bss in c?

613


How to write a code for reverse of string without using string functions?

1588


Explain how to reverse singly link list.

618






What is the significance of scope resolution operator?

869


Is it fine to write void main () or main () in c?

559


Is there a way to switch on strings?

627


how many key words availabel in c a) 28 b) 31 c) 32

641


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

1755


Differentiate abs() function from fabs() function.

615


Can include files be nested? How many levels deep can include files be nested?

665


How can you determine the size of an allocated portion of memory?

754


What are the properties of union in c?

600


Why is #define used?

800