Which of the following is not a valid declaration for main
()?
1) int main()
2) int main(int argc, char *argv[])
3) They both work
Answers were Sorted based on User's Feedback
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
WHAT IS INT?
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
What 'lex' does?
Which is not valid in C? 1) class aClass{public:int x;} 2) /* A comment */ 3) char x=12;
What is optimization in c?
Can you please explain the difference between malloc() and calloc() function?
If input is 123 then how to print 100 and 20 and 3 seperately?
What is false about the following A compound statement is a.A set of simple statments b.Demarcated on either side by curly brackets c.Can be used in place of simple statement d.A C function is not a compound statement.
find the size of structure without using the size of function
Wt are the Buses in C Language
How would you sort a linked list?