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
Answer / prayas
#include<stdio.h>
main ()
printf ( "\"Hello\"" ) ;
| Is This Answer Correct ? | 5 Yes | 3 No |
Answer / akshat
we can use the ascii code for char " and then print it...
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / anveshbanti
#include<stdio.h>
void main ()
{
printf(""hello"");
}
| Is This Answer Correct ? | 4 Yes | 31 No |
What is the difference between array and pointer?
what is the use of ‘auto’ keyword?
Difference between macros and inline functions? Can a function be forced as inline?
0 Answers HAL, Honeywell, Zomato,
What are pointers in C? Give an example where to illustrate their significance.
void main() { int a[]={1,2,3,4,5},i; for(i=0;i<5;i++) printf("%d",a++); getch(); }
What is null character in c?
What is a nested loop?
Write a program to reverse a given number in c?
write a program for 4 4 3 3 3 3 2 2 2 2 2 2 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 3 3 3 3 4 4
How do c compilers work?
void main() { int a=1; while(a++<=1) while(a++<=2); }
What does the function toupper() do?