Answer Posted / nara venkata satyanarayana
First we should know whether main() belongs to C/C++ or
java. If it is in C/C++ it is "user-defined" because not
available in any header file and body defined by user, but
compiler will starts body execution from main() function
only. But in java without main() also we can execute
programs and get output eg:-using static blocks.
Here also it is "user-defined" one.
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
Is stack a keyword in c?
What are external variables in c?
What does it mean when a pointer is used in an if statement?
Explain how can you restore a redirected standard stream?
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
Why structure is used in c?
Tell me when would you use a pointer to a function?
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
plz let me know how to become a telecom protocol tester. thank you.
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
what are the facialities provided by you after the selection of the student.
How can I call a function with an argument list built up at run time?
Explain what standard functions are available to manipulate strings?
What are qualifiers?