1. main()
{
printf("%d",printf("HelloSoft"));
} Output?

Answers were Sorted based on User's Feedback



1. main() { printf("%d",printf("HelloSoft")); } Output? ..

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

1. main() { printf("%d",printf("HelloSoft")); } Output? ..

Answer / unknown

as %d is used for int and "hellosoft" is char , error will
prevail.

Is This Answer Correct ?    2 Yes 8 No

1. main() { printf("%d",printf("HelloSoft")); } Output? ..

Answer / micheal b

Hello soft

Is This Answer Correct ?    1 Yes 18 No

Post New Answer

More C Interview Questions

what is the benefit of c30

2 Answers  


which one is highest Priority in c? a)=,b)+,c)++,d)==

4 Answers  


What has to put when we are inserting as assembly language code into the C code? or When we are inserting as assembly language code into the C code we have to insert one thing at the start and of the assembly language. What are they?

2 Answers  


What is identifier in c?

0 Answers  


How do you search data in a data file using random access method?

0 Answers  






what is level of tree if leaf node is at level 4.please explain.

1 Answers   Wipro,


diff between exptected result and requirement?

0 Answers   HCL,


Write a function that will take in a phone number and output all possible alphabetical combinations

0 Answers   Motorola,


Explain what is dynamic data structure?

0 Answers  


#include<stdio.h> int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

0 Answers  


I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.

0 Answers   TCS,


Input is "Jack and jill went up a hill" To print output is 1-letter word(s)-1 2-letter words-1 3-letter words-1 4-letter words-4

1 Answers   Mind Tree, TCS,


Categories