+ 1
what will you get after executing this code?
#include<stdio.h> Â int main() { Â int c; Â c = printf("Hello"); Â printf("%d", c); Â return 0;Â Â }
1 Answer
+ 4
printf() returns the count of characters.
Hello5
#include<stdio.h> Â int main() { Â int c; Â c = printf("Hello"); Â printf("%d", c); Â return 0;Â Â }