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 |
Write a C program to add two numbers before the main function is called.
Write a c program to search an element in an array using recursion
what will be the position of the file marker? a: fseek(ptr,0,SEEK_SET); b: fseek(ptr,0,SEEK_CUR);
main() { int i; clrscr(); printf("%d", &i)+1; scanf("%d", i)-1; } a. Runtime error. b. Runtime error. Access violation. c. Compile error. Illegal syntax d. None of the above
main() { int i=5,j=6,z; printf("%d",i+++j); }
how can u draw a rectangle in C
53 Answers Accenture, CO, Codeblocks, Cognizant, HCL, Oracle, Punjab National Bank, SAP Labs, TCS, University, Wipro,
main() { int i; printf("%d",scanf("%d",&i)); // value 10 is given as input here }
Design an implement of the inputs functions for event mode
func(a,b) int a,b; { return( a= (a==b) ); } main() { int process(),func(); printf("The value of process is %d !\n ",process(func,3,6)); } process(pf,val1,val2) int (*pf) (); int val1,val2; { return((*pf) (val1,val2)); }
what is the code of the output of print the 10 fibonacci number series
union u { struct st { int i : 4; int j : 4; int k : 4; int l; }st; int i; }u; main() { u.i = 100; printf("%d, %d, %d",u.i, u.st.i, u.st.l); } a. 4, 4, 0 b. 0, 0, 0 c. 100, 4, 0 d. 40, 4, 0
void main() { int i=10, j=2; int *ip= &i, *jp = &j; int k = *ip/*jp; printf(ā%dā,k); }