1. main()
{
printf("%d",printf("HelloSoft"));
} Output?
Answers were Sorted based on User's Feedback
Answer / sandy
Upon a successful return, the printf() function returns the
number of characters printed.
Answer: HelloSoft9
Is This Answer Correct ? | 39 Yes | 2 No |
Answer / unknown
as %d is used for int and "hellosoft" is char , error will
prevail.
Is This Answer Correct ? | 2 Yes | 8 No |
wt is d full form of c
What is volatile in c language?
Why do we need arrays in c?
What extern c means?
What is a static variable in c?
I need to take a sentence from input and sort the words alphabetically using the C programming language. Note: This is C not C++. qsort and strtok not allowed
what is data structure
What's a good way to check for "close enough" floating-point equality?
What does nil mean in c?
What is scope rule in c?
What are the key features in c programming language?
#include<stdio.h> #include<conio.h> void main() {clrscr(); char another='y'; int num; for(;another=='y';) { printf("Enter a number"); scanf("%d",&num); printf("squre of %d is %d",num,num*num); printf("\nwant to enter another number y/n"); scanf("%c",&another); } getch(); } the above code runs only one time.on entering 'y' the screen disappeares.what can i do?