main()
{
char p[ ]="%d\n";
p[1] = 'c';
printf(p,65);
}
Answers were Sorted based on User's Feedback
Answer / susie
Answer :
A
Explanation:
Due to the assignment p[1] = ‘c’ the string becomes, “%c\n”.
Since this string becomes the format string for printf and
ASCII value of 65 is ‘A’, the same gets printed.
| Is This Answer Correct ? | 30 Yes | 3 No |
Answer / hunny kukreja
Answer:
65
Explanation:
As p is having "%d\n",so it has become format string
for printf,so same will get printed.i.e. number 65
| Is This Answer Correct ? | 4 Yes | 11 No |
Write a program to check whether the number is prime and also check if it there i n fibonacci series, then return true otherwise return false
write a c program to print magic square of order n when n>3 and n is odd?
C program to print magic square of order n where n > 3 and n is odd
What are the files which are automatically opened when a C file is executed?
Sorting entire link list using selection sort and insertion sort and calculating their time complexity
1 Answers Infosys, Microsoft, NetApp,
void main() { int *mptr, *cptr; mptr = (int*)malloc(sizeof(int)); printf(“%d”,*mptr); int *cptr = (int*)calloc(sizeof(int),1); printf(“%d”,*cptr); }
void main() { while(1){ if(printf("%d",printf("%d"))) break; else continue; } }
main() { char string[]="Hello World"; display(string); } void display(char *string) { printf("%s",string); }
Write a Program that Inputs 10 Numbers in an Array and Show the Maximum Number
Write a program to receive an integer and find it's octal equivalent. How can i do with using while loop.
What is data _null_? ,Explain with code when u need to use it in data step programming ?
what will be the position of the file marker? a: fseek(ptr,0,SEEK_SET); b: fseek(ptr,0,SEEK_CUR);