Break statement can be simulated by using 1. go to 2. return 3. exit 4. both return and exit
The value of an automatic variable that is declared but not initialized will be 1. 0 2. -1 3. unpredictable 4. 3
the header files used in C programs are usually found in 1. /bin/include 2. /usr/bin/include 3. /dev/include 4. /usr/ include
Printf ("%d" ,printf {"tim") ); 1. results in a syntax error 2. outputs tim 3 3. outputs garbage 4. prints tim and terminates abruptly
Cfront 1. is front end of a c compiler 2. is the pre-processor of a c compiler 3. translates a c ++ code to its equivalent 4. is both pre-processor and front end
the fields in a structure of a c program are by default 1. protected 2. public 3. private 4. can't say
Latest Answer: #include"stdio.h" will only compile standard input output function ...
Latest Answer: #include
int main()
{
int i,j,k,count =0;
int *a =NULL;scanf(
"%d",&count);
a = (int*)(malloc((sizeof(int))*count));
for (i=0;i
{
for (j= 0;j0) && (j==i)) ? printf("1") ...
Latest Answer: I understand that some compilers pad some bytes to the aggregate data types in order to access the members of the aggregate data types(i.e. structure) fast. This depends on the architectures. Some architectures cannot access the data which will be stored ...
1.write a function swap(a,b) which interchanges 2 integers .call the function from the sort() funt whenever two integers have to be interchanged.2. write a c program to add the diagonal elements of an 3x3 array.3.write a function called max(a,b,c) that finds the bigger of 2 nos a and b and stores it in the address of the int variable passed as the third argument.
View page << Previous 11 12 13 14 [15] 16 17 18 19 20 Next >>

Go Top