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 / sriharsha

I think char x=12 is also not valid

Because 1.maximum length of the character can be 1 character
2.It should enclosed within single inverted commas, like
'1',or 'a'.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Suggesting that there can be 62 seconds in a minute?

996


How are portions of a program disabled in demo versions?

1232


What is the difference between char array and char pointer?

982


How is null defined in c?

1102


A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream

1117


What is function in c with example?

1088


Why isnt there a numbered, multi-level break statement to break out

995


What's the best way of making my program efficient?

1038


Write a program to reverse a linked list in c.

1066


how do you programme Carrier Sense Multiple Access

1926


Explain how does flowchart help in writing a program?

1061


I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

2318


What are enums in c?

1116


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

1079


Explain the difference between strcpy() and memcpy() function?

949