C Programming and Technical Numerical Ability

Windows 95 supports

(a) Multiuser
(b) n tasks
(c) Both
(d) None

Read Solution (Total 1)

C Other Question

What will be the output for the following C program ..??

void main()
{
int i;
for(i=1;i<4,i++)
switch(i)
case 1: printf("%d",i);break;
{
case 2:printf("%d",i);break;
case 3:printf("%d",i);break;
}
switch(i) case 4:printf("%d",i);
}
What is the output of this C code?

#include
int main()
{
char *p = NULL;
char *q = 0;
if (p)
printf(" p ");
else
printf("nullp");
if (q)
printf("qn");
else
printf(" nullqn");
}

a) nullp nullq
b) Depends on the compiler
c) x nullq where x can be p or nullp depending on the value of NULL
d) p q