Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

#include<stdio.h> main(0 { printf("\n %d %d %d",sizeof(3),sizeof("3"),sizeof(3)); }

4 Answers   HCL,


the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

0 Answers  


What is floating point constants?

0 Answers  


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

0 Answers   CSC, Wipro,


CAN WE DEFINE ANY FUNCTION WITHIN A FUNCTION.

15 Answers  


20. main() { int i=5; printf("%d%d%d%d%d%d",i++,i--,++i,--i,i); } Answer:??????

2 Answers  


#define f(x) main() { printf("\n%d",f(2+2)); }

5 Answers  


void main() { int a=1; while(a++<=1) while(a++<=2); }

4 Answers   HCL,


How can I find out how much memory is available?

1 Answers   Persistent,


Explain the difference between #include "..." And #include <...> In c?

0 Answers  


void main() { static int i = 5; if(--i) { main(); printf("%d ",i); } } what would be output of the above program and justify your answer? }

5 Answers   C DAC, CDAC, Infosys, Wipro,


what are two kinds of java

2 Answers  


Categories