Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

main() { int x, arr[8]={11,22,33,44,55,66,77,88}; x=(arr+2)[3]; printf(“%d”,x); }

8 Answers   Vector,


YBJBU6

1 Answers  


Write a Program to accept different goods with the number, price and date of purchase and display them

0 Answers   HDFC,


The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none

0 Answers  


What is action and transformation in spark?

0 Answers  






What are the scope of static variables?

0 Answers  


What are the types of functions in c?

0 Answers  


What is the output of the program #include<stdio.h> #include<conio.h> void main() {0 int i,j=20; clrscr(); for(i=1;i<3;i++) { printf("%d,",i); continue; printf("%d",j); break; } getch(); }

4 Answers   CTS, Oracle,


main() { char *p; p="Hello"; printf("%c\n",*&*p); }

2 Answers   ME,


Write a program which has the following seven functions. The functions should be: • main() this calls the other 6 functions • fget_long() a function which returns a long data type from a file • fget_short() a function which returns a short integer variable from a file • fget_float() a function which returns a floating point variable from a file • fprt_long() a function which prints its single, long argument into a file • fprt_short() a function which prints its single, short argument into a file • fprt_float() a function which prints its single, floating point argument into a file. You should use fscanf() to get the values of the variables from the input (the file) and fprintf() to print the values to the other file. Pay attention to using the correct format for each of the data types.

0 Answers  


write a progam to compare the string using switch case?

1 Answers  


what is different between auto and local static? why should we use local static?

0 Answers  


Categories