x=2 y=3 z=2
x++ + y++;
printf("%d%d" x,y);
Answers were Sorted based on User's Feedback
Answer / himanshu
errors:declaration syntax missing
function call missing
Is This Answer Correct ? | 0 Yes | 1 No |
Is the following code legal? typedef struct a aType; struct a { int x; aType *b; };
main() { char *p = “ayqm”; printf(“%c”,++*(p++)); }
29 Answers IBM, TCS, UGC NET, Wipro,
main() { int i=10; i=!i>14; Printf ("i=%d",i); }
create a login program that ask username and password. if you input username or password 3 times wrong, the program will terminate else the program will prompt a message "congratulations"
given integer number,write a program that displays the number as follows: First line :all digits second line : all except the first digit . . . . Last line : the last digit
main() { int x=5; clrscr(); for(;x<= 0;x--) { printf("x=%d ", x--); } } a. 5, 3, 1 b. 5, 2, 1, c. 5, 3, 1, -1, 3 d. –3, -1, 1, 3, 5
main() { 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); }
what is brs test reply me email me kashifabbas514@gmail.com
int main() { int x=10; printf("x=%d, count of earlier print=%d", x,printf("x=%d, y=%d",x,--x)); getch(); } ================================================== returns error>> ld returned 1 exit status =================================================== Does it have something to do with printf() inside another printf().
code of a program in c language that ask a number and print its decremented and incremented number.. sample output: input number : 3 321123
main() { static int var = 5; printf("%d ",var--); if(var) main(); }
How we print the table of 3 using for loop in c programing?