Answer Posted / sonu
main function part of class so its name is main, and it is execute execute by the compiler outside the class so it is made public, and it is getting the memory at compile time so it is static , and it is not return any value so it is void .
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can you pass an entire structure to functions?
Define recursion in c.
Explain is it better to bitshift a value than to multiply by 2?
What is the need of structure in c?
A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM
Describe wild pointers in c?
List some of the static data structures in C?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
Why is struct padding needed?
What is a loop?
Do you know what are bitwise shift operators in c programming?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
Is struct oop?
what type of questions arrive in interview over c programming?
What is extern c used for?