If I want to initialize the array like.
int a[5] = {0};
then it gives me all element 0.
but if i give int a[5] = {5};
then 5 0 0 0 0 is ans.
what will I do for all element 5 5 5 5 5 in a single
statement???
Answers were Sorted based on User's Feedback
program to find a smallest number in an array
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
What are two dimensional arrays alternatively called as?
largest Of three Number using without if condition?
What is sizeof in c?
write a progam to compare the string using switch case?
what are you see during placement time in the student.
0 Answers Goldman Sachs, TCS, Tech Solutions,
Heyyy All, Just a challenge . A C program with if Else if(){ /// insert sumthing print ("in if") // insert sumting } else { ///// insert sumthing print ("in else"); //// insert sumthing } can anyone modify it so that program prints. if and else both
What is extern keyword in c?
what is meant by flushll() in c programming?
Difference Between embedded software and soft ware?
what will be the output off the following program? #include<stdio.h> int main() { int a; a=015+0*71+5; printf("%d,a"); return0; }