C Programming String Multiple choice question

Exercise :: String - General Questions

This section contains a lot of Question with answer and explanation.

3) What would be the output of the following C programs ?

#include <stdio.h> void main( ) { char s[ ] = "learn C Programming" ; printf ( "\n%s", &s[2] ) ; }

A. learn C Programming
B. arn C Programming
C. Run Time Error
D. Compilation Error


arn C Programming


( B )

Explanation :

No explanations available for this question.