main()
{
clrscr();
}
clrscr();
Answers were Sorted based on User's Feedback
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 |
how can i search an element in an array
2 Answers CTS, Microsoft, ViPrak,
Develop a routine to reflect an object about an arbitrarily selected plane
Write a C program to print ‘Campus Force training’ without using even a single semicolon in the program.
main( ) { static int a[ ] = {0,1,2,3,4}; int *p[ ] = {a,a+1,a+2,a+3,a+4}; int **ptr = p; ptr++; printf(“\n %d %d %d”, ptr-p, *ptr-a, **ptr); *ptr++; printf(“\n %d %d %d”, ptr-p, *ptr-a, **ptr); *++ptr; printf(“\n %d %d %d”, ptr-p, *ptr-a, **ptr); ++*ptr; printf(“\n %d %d %d”, ptr-p, *ptr-a, **ptr); }
#include<stdio.h> main() { struct xx { int x; struct yy { char s; struct xx *p; }; struct yy *q; }; }
main() { char name[10],s[12]; scanf(" \"%[^\"]\"",s); } How scanf will execute?
In the following pgm add a stmt in the function fun such that the address of 'a' gets stored in 'j'. main(){ int * j; void fun(int **); fun(&j); } void fun(int **k) { int a =0; /* add a stmt here*/ }
Print an integer using only putchar. Try doing it without using extra storage.
main() { int i = 100; clrscr(); printf("%d", sizeof(sizeof(i))); } a. 2 b. 100 c. 4 d. none of the above
how can i cast a char type array to an int type array
why the range of an unsigned integer is double almost than the signed integer.
Write a single line c expression to delete a,b,c from aabbcc