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

what is software?

7 Answers   Wipro,


#include<stdio.h> int fun(); int i; int main() { while(i) { fun(); main(); } printf("hello \n"); return 0; } int fun() { printf("hi"); } answer is hello.how??wat is tat while(i) mean?

7 Answers   Intel,


Explain what is the best way to comment out a section of code that contains comments?

0 Answers  


Using which language Test cases are added in .ptu file of RTRT unit testing???

0 Answers  


1. Write the function int countchtr(char string[ ], int ch); which returns the number of times the character ch appears in the string. Example, the call countchtr(“She lives in NEWYORK”, ‘e’) would return 3.

4 Answers  


What is the translation phases used in c language?

0 Answers  


Is there a way to switch on strings?

0 Answers  


What are the advantages of union?

0 Answers  


how to find greatet of 10 numbers without using array?

4 Answers  


What is null pointer in c?

0 Answers  


Explain how do you determine the length of a string value that was stored in a variable?

0 Answers  


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

0 Answers   Motorola,


Categories