ISOFTTECH ONLINE EXAM ETEST 1
Your score will be displayed while taking the exam itself. After finishing the ONLINE EXAM press index or => to go to the other etests. ALL THE BEST!
1.a=5,b=3,c=a,b
d=(a,b)
printf(c,d)
- c=5,d=3
- c=3,d=3
- c=5,d=4
- None Of The Given Answers
e(int n)
{
if(n>0)
{
...(not clear)
printf("%d",n);
e(--n);
}
return
}
- ans:0,1,2,0
- ans:0,1,2,4
- ans:0,1,2,3
- None Of The Given Answers
which has no problem with pointers
- int *f1()
{
int n;
return (n)
} - int *f2()
{
int *p;
*p=3;
return p;
} - int *f3()
{
int *p;
p=malloc();
return p;
} - None of the Given Answers has error
j=4
for(int i=0;i<5;i++)
{
j++;
++j;
}
output of j.
- 14
- 13
- 12
- None Of The Given Answers
char s1[20]="hello world";
s1[5]="\0";
printf("%d",strlen(s1));
printf("%%.%...(not clear)",s1);
}
- bad format specifier
- hello world
- Runtime Error
- None Of The Given Answers
brace { used in c for what
- Convention
- Practise
- Comment
- None Of The Given Answers
parameters in c passed by
- Value
- Variable
- Pointer
- None Of The Given Answers
when an array is passed it is by
- Value
- Variable
- Pointer
- None Of The Given Answers
scanf can read
- any data type
- Variable
- Pointer
- None Of The Given Answers
to get string of words
- gets()
- puts()
- printf
- None Of The Given Answers