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 typedef and #define?
Where is volatile variable stored?
How will you delete a node in DLL?
What is extern variable in c with example?
value = 0xabcd; for (loop = 1; (value >> 1) & 1 | loop & 1; loop++) { foo(); if (loop & 1) value >>= 1; } how many times is foo() executed?
why i join syntel?
23 Answers ABC, Syntel, TCS,
char S; char S[6]= " HELLO"; printf("%s ",S[6]); output of the above program ? (0, ASCII 0, I,unpredictable)
List the difference between a 'copy constructor' and a 'assignment operator' in C?
How are strings stored in c?
HOW TO SWAP TWO NOS IN ONE STEP?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
If 4 digits number is input through the keyboard, Write a program to calculate sum of its 1st & 4th digit.