[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

37 / 55

What will be output of the following "c" code?

#include<stdio.h>
void main()
{
char s[]={'a', 'b', 'c', '\n', 'c', '\0'};
char *p, *str, *str1;
p= &s[3];
str= p;
str1= s;
printf("%d", ++*p++*str1-32);
}

ACompilation Error: invalid operands to binary *

Ba

CSegmentation fault

DB

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!