What is define c?
No Answer is Posted For this Question
Be the First to Post Answer
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
How can you determine the size of an allocated portion of memory?
What are dangling pointers? How are dangling pointers different from memory leaks?
#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?
what is the different between if-else and switch statment (other than syntax)
26 Answers CTS, Oracle, Scorpos,
How many parameters should a function have?
What are the types of operators in c?
consider the following structure: struct num nam{ int no; char name[25]; }; struct num nam n1[]={{12,"Fred"},{15,"Martin"},{8,"Peter"},{11,Nicholas"}}; ..... ..... printf("%d%d",n1[2],no,(*(n1 + 2),no) + 1); What does the above statement print? a.8,9 b.9,9 c.8,8 d.8,unpredictable value
What are global variables?
What does char * * argv mean in c?