[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 :: String - Discussion

Home > C Programming > String > MCQs Questions Discussion

3 / 26

What is the output of the following problem ?

#include<stdio.h>
int main()
{
int len=4;
char *st="12345678"; 
st = st + len; 
printf("%c\n",*st);
return 0;
}

A5

B4

C12345678

DCompilation Error

ESegmentation fault

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!