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 Create a registration form application by taking the details like username, address, phone number, email along with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 5 users and display the details. In place of password display “****”. (Use Structures).
0 Answers CDAC, College School Exams Tests,
#define FALSE -1 #define TRUE 1 #define NULL 0 main() { if(NULL) puts("NULL"); else if(FALSE) puts("TRUE"); else puts("FALSE"); }
main() { int i = 258; int *iPtr = &i; printf("%d %d", *((char*)iPtr), *((char*)iPtr+1) ); }
# include <stdio.h> int one_d[]={1,2,3}; main() { int *ptr; ptr=one_d; ptr+=3; printf("%d",*ptr); }
Is the following code legal? typedef struct a { int x; aType *b; }aType
void main() { int const * p=5; printf("%d",++(*p)); }
3 Answers Infosys, Made Easy, State Bank Of India SBI,
Display the time of the system and display the right time of the other country
main() { int i=-1; -i; printf("i = %d, -i = %d \n",i,-i); }
What is the main difference between STRUCTURE and UNION?
What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?
main() { unsigned int i=10; while(i-->=0) printf("%u ",i); }
main() { int i; i = abc(); printf("%d",i); } abc() { _AX = 1000; }