What is a void pointer? When is a void pointer used?
No Answer is Posted For this Question
Be the First to Post Answer
write a c program to calculate the income tax of the employees in an organization where the conditions are given as. (I.T. = 0 if income <100000 I.T = 10% if income _< 200000 it = 20% if income >_ 200000)
7 Answers Consultancy, DBU, FD, JK Associates, Kobe, Satyam,
Why does notstrcat(string, "!");Work?
Explain the difference between fopen() and freopen().
which will be first in c compiling ,linking or compiling ,debugging.
how to make c program without a libary? e.g.#include<stdio.h> libary is not in c progaram.
1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
Tell us something about keyword 'auto'.
in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?
int array[]={1,2,3,4,5,6,7,8}; #define SIZE (sizeof(array)/sizeof(int)) main() { if(-1<=SIZE) printf("1"); else printf("2"); }
How do I get a null pointer in my programs?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
What is true about the following C Functions a.Need not return any value b.Should always return an integer c.Should always return a float d.Should always return more than one value.