C Programming - Pointers - Discussion

Discussion Forum : Pointers - Find Output of Program (Q.No. 15)
15.
What will be the output of the program ?
#include<stdio.h>

int main()
{
    printf("%c\n", 7["IndiaBIX"]);
    return 0;
}
Error: in printf
Nothing will print
print "X" of IndiaBIX
print "7"
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
43 comments Page 5 of 5.

Sathya said:   2 decades ago
Thanks Shamini.

Sindhu said:   1 decade ago
Thanks wikiok.

Arvind said:   1 decade ago
Thnx wikiok.


Post your comments here:

Your comments will be displayed after verification.