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 |
from which concept of 'c', the static member function of 'c++' has came?
write a program to display the numbers in the following 4 4 3 3 2 2 1 1 0 1 1 2 2 3 3 4 4
struct tag{ auto int x; static int y; };main() { struct tag s; s.x=4; s.y=5; printf(ā%dā,s.x); }
Why is it usually a bad idea to use gets()? Suggest a workaround.
What are pointers? What are different types of pointers?
how can i include my own .h file EX:- alex.h like #include<alex.h>, rather than #include"alex.h"
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
write an interactive program to generate the divisors of a given integer.
what is the basis for selection of arrays or pointers as data structure in a program
Write a program in C for showing working of different logical operator in C. Your program should guide users with proper message/menu on the console.
Explain how do you determine the length of a string value that was stored in a variable?
Explain what is the difference between functions getch() and getche()?