Beruflich Dokumente
Kultur Dokumente
a) 9
2)
3)
b) 8
c) 7
d)6
How do you declare an array of N pointers to functions returning pointers to functions returning pointers to
characters?
a) char *(*a[N])();
b) char *(*(a[N])())();
c) char *(*(*a[N])())();
d) char *a[N]();
main()
{
int x=5;
printf("%d %d %d\n",x,x<<2,x>>2);
}
a) 5 20 1
b) 5 10 0
c) 0 10 5
d) None
10
b) 5
10
c) Compilation Error
d) None
4) None
6) What is a structure ?
a ) Array of objects
D) None
a) malloc
b) calloc
c) realloc
d) none
a) 0
c) \n
d) none
b)2
c) 3
d) 4
Free()
b) delete
c) remove
d) erase
11) Write a program to compare two strings without using the strcmp() function.
12) Write a program to create a File and perform read and write operations on it.
13) Write a program to print the output as follows.
54321
4321
321
21
1
14 ) Write a program to find the Biiggest, Next Biggest and smallest values in a given Single
Dimension Array.
15 ) Write a program to sort the Strings in a Array.
7) c
8) b
9) d
10) a