[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: Arrays - Discussion

Home > C Programming > Arrays > MCQs Questions Discussion

17 / 55

What will be the output of the program ?

#include<stdio.h>
void abc(char a[]);
void main(){
char a[100];
a[0]='a';
a[1]='b';
a[2]='c';
a[4]='d';
abc(a);
}
void abc(char a[]){
a++;
printf("%c",*a);
a++;
printf("%c",*a);
}

Aac

Bcd

CCompilation Error

Dbc

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!