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 the size of structure pointer in c?

1033


What are the complete rules for header file searching?

1047


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

2061


Which programming language is best for getting job 2020?

998


Explain what are preprocessor directives?

1029


a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

1085


Explain how can I manipulate strings of multibyte characters?

1173


What is an lvalue in c?

1082


A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

1165


What is the scope of global variable in c?

965


When should a far pointer be used?

1077


Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

3069


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

1436


What is the difference between void main and main in c?

1118


Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

1859