How to declare a variable?
No Answer is Posted For this Question
Be the First to Post Answer
what is the code for getting the output as * ** ***
How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST
a<<1 is equivalent to a) multiplying by 2 b) dividing by 2 c) adding 2 d)none of the above
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 benefit of using const for declaring constants?
What are pointers in C?
Differentiate between calloc and malloc.
c program to compute Income tax and Net Salary for its employees. The company offers tax relief of Kshs. 650 for single employees and Kshs. 1,100 for married employees. The relief will be deducted from the Gross salary, to give the taxable income. This will be computed at the following rates: [10mks] Taxable Income Rate (%) <5000 0 5000-19999 6 20000-36999 9 37000 and above 16
What is main void in c?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
struct ptr { int a; char b; int *p; }abc; what is d sizeof structure without using "sizeof" operator??
What is a class c rental property?