Which is not valid in C?




1) class aClass{public:int x;}


2) /* A comment */


3) char x=12;


Answer Posted / k.kavitha

class aClass{public:int x;}

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why & is used in scanf in c?

726


What is calloc()?

711


Are pointers integer?

642


What is size of union in c?

668


How do you determine the length of a string value that was stored in a variable?

742






How do you generate random numbers in C?

772


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

1955


What is the purpose of clrscr () printf () and getch ()?

689


disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit

1741


What is variable and explain rules to declare variable in c?

658


What is the use of ?

713


int far *near * p; means

3217


How are structure passing and returning implemented?

673


The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference

767


Are bit fields portable?

792