Click To Get Off-Campus Placement Jobs Info !!!
FREE!!! Latest Nagarro FULL Aptitude Mock Test for Practice
Practice 5+ Mettl Aptitude Mock Test

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

6 / 40

What is output or the error in the program?


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!