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...


how can i print "hello".please consider inverted commas as
well.i want to print on console: "hello"

Answers were Sorted based on User's Feedback



how can i print "hello".please consider inverted commas as well.i want to print on consol..

Answer / banavathvishnu

main()
{
printf("%s","\"Hello \"");
}

Is This Answer Correct ?    27 Yes 5 No

how can i print "hello".please consider inverted commas as well.i want to print on consol..

Answer / prayas

#include<stdio.h>
main ()
printf ( "\"Hello\"" ) ;

Is This Answer Correct ?    5 Yes 3 No

how can i print "hello".please consider inverted commas as well.i want to print on consol..

Answer / akshat

we can use the ascii code for char " and then print it...

Is This Answer Correct ?    3 Yes 2 No

how can i print "hello".please consider inverted commas as well.i want to print on consol..

Answer / anveshbanti

#include<stdio.h>
void main ()
{
printf(""hello"");
}

Is This Answer Correct ?    4 Yes 31 No

Post New Answer

More C Interview Questions

Write programs for String Reversal & Palindrome check

0 Answers   TISL,


Does c have an equivalent to pascals with statement?

0 Answers  


How important is structure in life?

0 Answers  


Why is the code below functioning. According to me it MUST NOT.

1 Answers  


In a switch statement, what will happen if a break statement is omitted?

0 Answers  


why little endian and big endian came?y they using differently? y they not used commonly ?wt is application of little and big ?

1 Answers  


What do you understand by normalization of pointers?

0 Answers  


 Illustrate it   summing the series 2+4+6+......to n terms using  (i) while loop (ii) do-while loop

2 Answers  


struct ptr { int a; char b; int *p; }abc; what is d sizeof structure without using "sizeof" operator??

9 Answers   Verifone,


what is the maximum limit of row and column of a matrix in c programming. in linux .

4 Answers   NIIT,


A array contains dissimilar element how can we count, and A array contains dissimilar element how can we store in another array with out repetition.

4 Answers  


Write a function that accepts two numbers,say a and b and makes bth bit of a to 0.No other bits of a should get changed.

2 Answers   Scientific Atlanta, Wipro,


Categories