Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
TCS NQT Technical and Managerial Round Interview Questions

C Programming :: Const / Volatile Qualifier - Discussion

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

9 / 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!