A PHP Error was encountered

Severity: 8192

Message: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated

Filename: libraries/Filtered_db.php

Line Number: 23

C Example for nested \"printf\"
Q:

C Example for nested \"printf\"

0

C Example for nested "printf"

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Consider the given example:

#include <stdio.h>

int main()
{

	printf("\t%d",printf("includehelp"));

	return (0);

}

Output

includehelp	11

It prints "includehelp 11". Word 'Includehelp' prints, because it is written under printf and but first printf is printing the number of letters counted in the word 'includehelp' i.e., so it is 'includehelp 11'.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now