Can a program have multiple main() functions?
Answer / nashiinformaticssolutions
No, only one main() function is allowed.
| Is This Answer Correct ? | 0 Yes | 0 No |
How can you tell whether a program was compiled using c versus c++?
What is output of the following program ? main() { i = 1; printf("%d %d %d\n",i,i++,i++); }
Given a piece of code int x[10]; int *ab; ab=x; To access the 6th element of the array which of the following is incorrect? (A) *(x+5) (B) x[5] (C) ab[5] (D) *(*ab+5} .
Differentiate b/w Modify and Update commands giving example.
define c
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
2 Answers HCL, IBM, Satyam, Vimal, Vimukti Technologies,
What is a good way to implement complex numbers in c?
what is the difference between strcpy() and memcpy() function?
How can you increase the size of a statically allocated array?
Why #include is used in c language?
what is the function of void main()?