Which is not valid in C?




1) class aClass{public:int x;}


2) /* A comment */


3) char x=12;


Answer Posted / deepthi

1) class aclass{public:int x;}

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the role of this pointer?

555


What do you understand by normalization of pointers?

629


What does the function toupper() do?

661


Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given

2524


Differentiate fundamental data types and derived data types in C.

621






Why can’t constant values be used to define an array’s initial size?

840


Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.

657


Implement bit Array in C.

680


What is a pointer value and address in c?

636


how to execute a program using if else condition and the output should enter number and the number is odd only...

1661


Write a program to reverse a given number in c?

603


What is the meaning of c in c language?

601


What is the difference between new and malloc functions?

584


write a progrmm in c language take user interface generate table using for loop?

1576


What is the right type to use for boolean values in c? Is there a standard type?

568