Why & is used in scanf in c?
Answer / Awadh Kishore
The ampersand (&) is used in the scanf function to pass a variable's address as an argument. This allows scanf to modify the actual value of the variable.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is structure packing ?
What is actual argument?
write a program to find the number of even integers and odd integers in a given array in c language
13 Answers IAI Cameroun, NIIT, Olive Tech, QIS,
If 4 digits number is input through the keyboard, Write a program to calculate sum of its 1st & 4th digit.
Is there something we can do in C but not in C++? Declare variable names that are keywords in C++ but not C.
What is a string?
a C prog to swap 2 no.s without using variables just an array?
is it possible to create your own header files?
What is the use of the sizeof operator?
How do I access command-line arguments?
please give code for this 1 2 4 7 11 16
In the following code segment what will be the result of the function, value of x , value of y { unsigned int x=-1; int y; y = ~0; if(x == y) printf("same"); else printf("not same"); } a) same, MAXINT, -1 b) not same, MAXINT, -MAXINT c) same , MAXUNIT, -1 d) same, MAXUNIT, MAXUNIT e) not same, MAXINT, MAXUNIT