the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
No Answer is Posted For this Question
Be the First to Post Answer
how do you redirect stdout value from a program to a file?
Write a program to add the following ¼+2/4+3/4+5/3+6/3+... (Like up to any 12 no.s)
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
Why c is called a mid level programming language?
What are different types of pointers?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
What is this pointer in c plus plus?
main() { int i=400,j=300; printf("%d..%d"); }
Write a program to find the given number is odd or even without using any loops(if,for,do,while)
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.
#include<stdio.h> void main() { char *str; long unsigned int add; str="Hello C"; add=&str[0]; printf("%c",add); } What is the output?
What are the ways to a null pointer can use in c programming language?