Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
Practice Tech Mahindra Essay Topics

Commvault Written Test Qs.(Technical Aptitude) :: Const / Volatile Qualifier - Discussion

6 / 40

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!