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);
}
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
two progs are given. one starts counting frm 0 to MAX and the other stars frm MAX to 0. which one executes fast.
Differentiate between functions getch() and getche().
how the size of an integer is decided? - is it based on processor or compiler or OS?
19 Answers HCL, JPR, Microsoft, nvidia,
What is a program?
how can i get the string which is having two spaces at the end.suppose the string is "Hello World ".Now at the end i have two spaces.i need to print with that spaces .
Can i use “int” data type to store the value 32768? Why?
why integer range between -327680to+32767
There is a number and when the last digit is moved to its first position the resultant number will be 50% higher than the original number.Find the number?
Which driver is a pure java driver
What is string function c?
What is C language Terminator?