Take FREE!! Online Cocubes Mock Test to Crack various Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
Take 30+ FREE!! Online Arithmetic Aptitude Mock test to crack any Exams.

C Programming :: Const / Volatile Qualifier - Discussion

Home > C Programming > Const / Volatile Qualifier > MCQs Questions Discussion

3 / 10

What is output or the error in the program?

#include

void main () {
const char* cptr = "Hello";
printf ("%c", (*++cptr)++);
}

Al-value specifies const object

BNo error, output is e

CNo error, output is H

DNo error, output is 1

Answer: Option (Login/Signup)

Show Explanation

Asked In :: Commvault

Post Your Answer Here:     

No Discussion on this question yet!