What is the difference between specifying a constant variable
like with constant keyword and #define it? i.e what is the
difference between CONSTANT FLOAT A=1.25 and #define A 1.25
No Answer is Posted For this Question
Be the First to Post Answer
write function to reverse char array ... without using second array
proc() { static i=10; printf("%d",i); } If this proc() is called second time, what is the output?
how to write a prog in c to convert decimal number into binary by using recursen function,
What is the 'named constructor idiom'?
What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
f(x,y,z) { y = y+1; z = z+x; } main() { int a,b; a = 2 b = 2; f(a+b,a,a); print a; } what is the value of 'a' printed
What is formal argument?
all c language question
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.
Is it possible to initialize a variable at the time it was declared?
#include<stdio.h> int SumElement(int *,int); void main(void) { int x[10]; int i=10; for(;i;) { i--; *(x+i)=i; } printf("%d",SumElement(x,10)); } int SumElement(int array[],int size) { int i=0; float sum=0; for(;i<size;i++) sum+=array[i]; return sum; } output?