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 a c program for swapping two strings using pointer

0 Answers  


What are the phases in s/w developed life cycle? wat is the diff b/w stack & queue...where do we use stack

6 Answers  


How do you determine a file’s attributes?

0 Answers  


i want to know the procedure of qualcomm for getting a job through offcampus

0 Answers   HCL,


main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }

1 Answers   Vector, Vector India,






What is a pointer on a pointer in c programming language?

0 Answers  


Input any no. and print all the the numbers that comes before it like this for e.g input = 4 0 01 012 0123 01234 plz answer it 2day

3 Answers  


Write a program to find the biggest number of three numbers in c?

0 Answers  


Why main is not a keyword in c?

0 Answers  


c program to manipulate x=1+3+5+...+n using recursion

2 Answers   Wipro,


What is the role of && operator in a program code?

0 Answers  


c program for searching a student details among 10 student details

0 Answers  


Categories