main()
{
static char *s[]={"black","white","yellow","voilet"};
char **ptr[]={s+3,s+2,s+1,s}, ***p;
p=ptr;
**++p;
printf("%s",*--*++p+3);
}
Print all numbers which has a certain digit in a certain position eg: number=45687 1 number=4 2 number=5 etc
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} what would be the output?
What are pointers in C? Give an example where to illustrate their significance.
Define a structure to store the record of library. The record must consist of at least following fields: Title, Author, Edition, Price, Publisher, and Category. -Define functions authorSearch ( ), TitleSearch ( ) and CategorySearch ( ) to search a book with respect to author, title and category. [There can be more than one book, written by one author, in one category]
What is c definition?
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
how does the C compiler interpret the following two statements p=p+x; q=q+y; a.p=p+x; q=q+y b.p=p+xq=q+y c.p=p+xq; q=q+y d.p=p+x/q=q+y
What are the disadvantages of external storage class?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
How can a process change an environment variable in its caller?
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
Explain how can I manipulate strings of multibyte characters?