write a c program to print the next of a particular no
without using the arithmetic operator or looping statements?
Answer / sumanta mahapatra
we can do dis using increment operator....
main()
{
int x,y;
x=5;
y=++x;
printf("%d",y);
}
| Is This Answer Correct ? | 7 Yes | 3 No |
What is a char in c?
If I have a char * variable pointing to the name of a function ..
What does int main () mean?
what's the return value of malloc()
Explain in detail how strset (string handling function works )pls explain it with an example.
What is d'n in c?
can anyone proide me reading material on svit00ef27@yahoo.com please thanx in advance
Find occurence of a character in a sting.
What will be printed as the result of the operation below: #include<..> int x; int modifyvalue() { return(x+=10); } int changevalue(int x) { return(x+=1); } void main() { int x=10; x++; changevalue(x); x++; modifyvalue(); printf("First output:%d\n",x); x++; changevalue(x); printf("Second output:%d\n",x); modifyvalue(); printf("Third output:%d\n",x); }
print out of string in this format; 1. "rajesh" 2. \n 3. %d
what is the difference between declaration and definition of a variable or function ?
What library is sizeof in c?