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 most efficient way to count the number of bits which are set in a value?
What is the difference between local variable and global variable in c?
15.what is the disadvantage of using macros? 16.what is the self-referential structure? 17.can a union be self-referenced? 18.What is a pointer? 19.What is the Lvalue and Rvalue? 20.what is the difference between these initializations? 21.Char a[]=”string”; 22.Char *p=”literal”; 23.Does *p++ increment p, or what it points to?
write a program to print largest number of each row of a 2D array
define switch statement?
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
Explain low-order bytes.
Write code for atoi(x) where x is hexadecimal string.
how does printf function work
Define function pointers?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 1. Print only the alphabets . If in upper case print in lower case vice versa.