|
Posted By: Pazhani Member Level: Gold Posted Date: 06 Jul 2008 Category: Computer Basics
|
main() { int i=3; switch(i) { default:printf("zero"); case 1: printf("one"); break; case 2:printf("two"); break; case 3: printf("three"); break; } }
Select Answer:
three
two
one
four
|
Your Test Score: 0 / 0
|
|
Next Question:
main()
{
char *p;
printf("%d %d ",sizeof(*p),sizeof(p));
}
|
|
Previous Question:
#include
main()
{
char s[]={'a','b','c','\n','c','\0'};
char *p,*str,*str1;
p=&s[3];
str=p;
str1=s;
printf("%d",++*p + ++*str1-32);
}
|
Related Questions:
Which one of the following statements is used to make a transaction permanent?
You have an old PC that you decide to upgrade with a 1 gig
IDE hard drive. You find that you can't configure CMOS to see the
entire hard drive. The best you can do is 540 Meg. What is the fix?
Which of the following is NOT VALID is PL/SQL
Which one of the following parameters of the runas command enables you to load a user’s profile?
Which of the following disk slices is used to configure the swap file system on a stand-alone Solaris 9 OE computer and a Solaris 9 OE server?
|
Categories
|
|
Submit Interview/Test Questions with Answers and
make money from adsense revenue sharing program
Want to prepare for an interview? Try our aptitude tests and standard interview questions first.