37. WAP to understand printf function return type
#include<stdio.h>
void
main()
{
//
PART 1
int i;
i=printf("Hello World..\n");
printf("i = %d\n",i);
//
PART 2
printf("i =
%d\n",printf("Hello World\n"));
//
PART 3
int h = 1234,j;
j=printf("h = %d\n",h);
printf("j = %d\n",j);
}
Comments
Post a Comment