C Programming Code Examples C > Miscellaneous Code Examples C Program to Demonstrate Printf inside Another Printf Statement C Program to Demonstrate Printf inside Another Printf Statement Firstly Inner printf is executed which results in printing 1324 This Printf Returns total number of Digits i.e 4 and second inner printf will looks like It prints 4 and Returns the total number of digits i.e 1 (4 is single digit number ) It prints simply 1 and output will looks like 132441 #include<stdio.h> int main() { int j = 1342; printf("%d", printf("%d", printf("%d", j))); return(0); }