+ 2
Why do the output comes "World" after execute of following program?(explain in brief)
#include <stdio.h> int main() { printf(6+ "Hello World"); return 0; }
5 ответов
+ 5
Pointer to first char is moved forward of six memory addresses (in this case, six chars), so it outputs letters from 7th to end of the string
+ 2
Prince Kumar the instruction moves six chars forward the string
+ 1
"Hello world" is a string, that is actually a char* type. Therefore this is equivalent to:
char* str = "Hello world";
Printf(%s,6+str);
+ 1
When I use - operator on place of + operator so it's show an error messgae
+ 1
Paolo De Nictolis I am unable to understand please sir explain in detail as I am new in c