main()
{
char *p;
p="%d\n";
p++;
p++;
printf(p-2,300);
}
Answer / susie
Answer :
300
Explanation:
The pointer points to % since it is incremented twice and
again decremented by 2, it points to '%d\n' and 300 is printed.
| Is This Answer Correct ? | 8 Yes | 1 No |
main() { struct date; struct student { char name[30]; struct date dob; }stud; struct date { int day,month,year; }; scanf("%s%d%d%d", stud.rollno, &student.dob.day, &student.dob.month, &student.dob.year); }
Is it possible to print a name without using commas, double quotes,semi-colons?
can u give me the c codings for converting a string into the hexa decimal form......
Cluster head selection in Wireless Sensor Network using C programming language.
main() { int i=-1; +i; printf("i = %d, +i = %d \n",i,+i); }
String copy logic in one line.
what is variable length argument list?
how can i cast a char type array to an int type array
programming in c lanugaue programm will errror error with two header file one as stdio.h and other one is conio.h
What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?
#include<stdio.h> main() { FILE *ptr; char i; ptr=fopen("zzz.c","r"); while((i=fgetch(ptr))!=EOF) printf("%c",i); }
Display the time of the system and display the right time of the other country