a) individual characters can be changed.
b) buffer[7] is not accesible.
c)none of the above.
which of the above is TRUE;
ans : a)
2.#include<stdio.h>
#include<conio.h>
void main()
{
int ctr=0;
clrscr();
switch(ctr)
{
case 0:
ctr++;
case 1:
ctr++;
default :
ctr++;
};
printf("%d",ctr);
getch();
}
What is the output of the code.
i) ctr=2;
ii) ctr=3;
iii) ctr=1;
iv) compiler error;
Ans : iii)
3.#include<stdio.h>
#include<conio.h>
void main()
{
void fun(int,int);
int i ,j;
|
|