how to print "hai" in c?
Answers were Sorted based on User's Feedback
Answer / shabeer v c
#include<stdio.h>
void main()
{
printf(" \"hai"\ ");
getch();
}
| Is This Answer Correct ? | 0 Yes | 5 No |
#include<stdio.h>
#include<conio.h>
void main()
{
printf("hai");
getch();
}
| Is This Answer Correct ? | 1 Yes | 7 No |
#include<stdio.h> #include<conio.h> void main() { char ch='\356'; printf("%d",ch); } o/p=-18 why?plz.explain
What are pragmas and what are they good for?
What is the function of volatile in c language?
Juxtapose the use of override with new. What is shadowing?
What is boolean in c?
Why does notstrcat(string, "!");Work?
for example user gives input as " 20 or 20.0 or rs 20.0 or 20.00 or rs20 and so .. on " and the output should be stored as " rs.20.00 " in a variable
how to write a data 10 in address location 0x2000
typedef struct { int i:8; char c:9; float f:20; }st_temp; int getdata(st_temp *stptr) { stptr->i = 99; return stptr->i; } main() { st_temp local; int i; local.c = 'v'; local.i = 9; local.f = 23.65; printf(" %d %c %f",local.i,local.c,local.f); i = getdata(&local); printf("\n %d",i); getch(); } why there there is an error during compiling the above program?
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
What are global variables?
Explain bitwise shift operators?