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

the question is that what you have been doing all these periods (one year gap)

1626


I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.

1744


What is a program flowchart?

609


What is scope rule of function in c?

556


we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

641






Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

581


Explain how can a program be made to print the line number where an error occurs?

700


What does 4d mean in c?

951


What are variables c?

626


What is a union?

613


What is selection sort in c?

613


What will be your course of action for a push operation?

669


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

1624


What is graph in c?

587


Explain how to reverse singly link list.

612