main()
{
printf("hello%d",print("QUARK test?"));
}
Answers were Sorted based on User's Feedback
Answer / vignesh1988i
QUARK test?hello1
first it prints the inner most printf statement and then and the comes to the second printf and returns the number of characters inside the " ". but this wat i think, may be wrong too
thank u.
Is This Answer Correct ? | 1 Yes | 1 No |
What are the salient features of c languages?
main() { int i; printf("%d", &i)+1; scanf("%d", i)-1; }
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
WHAT IS PRE POSSESSORS?
find the minimum of three values inputted by the user
void main() { int s[4][2]={ {1234,56},{1212,33},{1434,80},{1312,78} }; int (*p)[2]; int i,j,*pint; for(i=0;i<=3;i++) { p=&s[i]; pint=p; printf("\n"); for(j=0;j<=1;j++) printf("%d",*(pint+j)); } } while running this program it shows a warning-suspicious pointer conversion ie pint=p; my que is why should we assign the value of p to pint again.why cant we use it directly as *(p+j)..but if i use like tat the o/p is garbage value..
3. Program to print all possible substrings. ex: String S St Str Stri Strin String t tr tri trin tring r
program to find the ASCII value of a number
Write a program to print all permutations of a given string.
What is #include in c?
4)What would be the output? main() { int num=425; pf("%d",pf("%d",num)); } a)Comp error b)4425 c)4253 d)3435 e)none
What happens if you free a pointer twice?