Can a pointer be volatile in c?
No Answer is Posted For this Question
Be the First to Post Answer
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
how can we use static and extern?and where can we use this?
Does free set pointer to null?
Reverse the bit order in a single macro. eg. i/p = 10010101 --> o/p = 10101001
what is difference between #include<stdio.h> and #include"stdio.h"
WRITE A PROGRAM TO PRINT THE FOLLOWING OUTPUTS USING FOR LOOPS. A) * B) ***** *** * * ***** * * *****
What is the purpose of void in c?
main() { int a,b; printf("%d,%d",scanf("%d%d",&a,&b)); } => do u mean above program's output... =>output will be:2,whatever you enter value for b. =>because scanf is a library fn which will return how many arguements it processes, and second value you are right mr.Satya but i found my self unable to understand that for the first time scanf returns the no of successful matches but how for the second time it returns the value of 'b'.while a function should return the same 'r' value every time.
difference between ordinary variable and pointer in C?
how to TOGGLE Nth bit of variable in a MACRO
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
what is calloc and malloc?