+ 1

What is the output of the following program?

void main() { char*p="Difficult"; char c; c=++*p++; printf("%c",c); }

26th Jul 2017, 12:59 PM
Deepanshu Bansal
Deepanshu Bansal - avatar
4 Réponses
0
how???
26th Jul 2017, 1:03 PM
Deepanshu Bansal
Deepanshu Bansal - avatar
+ 2
Please do not use depreciated format of assigning pointers to string literals.
26th Jul 2017, 1:24 PM
Apoorva Shenoy Nayak
Apoorva Shenoy Nayak - avatar
+ 1
this is a right question.
26th Jul 2017, 1:27 PM
Deepanshu Bansal
Deepanshu Bansal - avatar
0
is it i
26th Jul 2017, 1:02 PM
Ashwaghosh Sadanshiv
Ashwaghosh Sadanshiv - avatar