Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Which is not valid in C?




1) class aClass{public:int x;}


2) /* A comment */


3) char x=12;


Answer Posted / sridhar

1)is valid in case of objective C
2)thts a valid comment
3)its invalid

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is void main ()?

1082


What are the types of assignment statements?

1069


What is wrong with this program statement?

1046


How would you obtain the current time and difference between two times?

1296


What is the difference between null pointer and wild pointer?

1204


What is #pragma statements?

1104


What is the difference between malloc() and calloc() function in c language?

1087


Differentiate between Macro and ordinary definition.

1394


What is the translation phases used in c language?

1124


Can we assign string to char pointer?

1123


Are pointers integer?

1023


Not all reserved words are written in lowercase. TRUE or FALSE?

1236


what is the format specifier for printing a pointer value?

1028


Explain what are multidimensional arrays?

1075


What does the characters “r” and “w” mean when writing programs that will make use of files?

1486