Discussion :: Functions
-
What will be the output of the program?
#include
int main() { void fun(char*); char a[100]; a[0] = 'A'; a[1] = 'B'; a[2] = 'C'; a[3] = 'D'; fun(&a[0]); return 0; } void fun(char *a) { a++; printf("%c", *a); a++; printf("%c", *a); }
Answer : Option B
Explanation :
No answer description available for this question.
Be The First To Comment