how to print a statement in c without use of console
statement ,with the help of if statement it should print
Answers were Sorted based on User's Feedback
Answer / deepanshu kakkar
#include<stdio.h>
void main()
{
if(printf("deepanshu kakkar"));
}
| Is This Answer Correct ? | 4 Yes | 1 No |
to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
What is the memory allocated by the following definition ? int (*x)();
When you call malloc() to allocate memory for a local pointer, do you have to explicitly free() it?
main() { int i=1; while (i<=5) { printf("%d",i); if (i>2) goto here; i++; } } fun() { here: printf("PP"); }
What do header files do?
Explain how can you restore a redirected standard stream?
What is volatile
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} what would be the output?
what is the hexidecimal number of 4100?
What is function prototype?
Diff between for loop and while loop?