main()

{

clrscr();

}

clrscr();

Answers were Sorted based on User's Feedback



main() { clrscr(); } clrscr();..

Answer / susie

Answer :

No output/error

Explanation:

The first clrscr() occurs inside a function. So it becomes a
function call. In the second clrscr(); is a function
declaration (because it is not inside any function).

Is This Answer Correct ?    4 Yes 0 No

main() { clrscr(); } clrscr();..

Answer / mohan

No Error and There is no output

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Code Interview Questions

What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?

1 Answers  


Write a routine that prints out a 2-D array in spiral order

3 Answers   Microsoft,


Write a program to receive an integer and find it's octal equivalent. How can i do with using while loop.

2 Answers  


main() { int i=3; switch(i) { default:printf("zero"); case 1: printf("one"); break; case 2:printf("two"); break; case 3: printf("three"); break; } }

1 Answers  


Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange

0 Answers  






Design an implement of the inputs functions for event mode

0 Answers   Wipro,


#include<stdio.h> #include<conio.h> void main() { int a=(1,2,3,(1,2,3,4); switch(a) { printf("ans:"); case 1: printf("1");break; case 2: printf("2");break; case 3: printf("1");break; case 4: printf("4");break; printf("end"); } getch(); }

0 Answers  


how to print 1 2 3 4 5 6 7 8 9 10 9 8 7 6 5 4 3 2 1 using any loop(for or while) only once(only 1 loop) and maximum 2 variables using C.

19 Answers   Cap Gemini, Infosys,


main() { int i = 0xff ; printf("\n%d", i<<2); } a. 4 b. 512 c. 1020 d. 1024

2 Answers   HCL,


#define a 10 int main() { printf("%d..",a); foo(); printf("%d..",a); return 0; } void foo() { #undef a #define a 50 }

3 Answers  


how to test pierrot divisor

0 Answers  


how to check whether a linked list is circular.

11 Answers   Microsoft,


Categories