int j =15,i;
for (i=1; 1<5; ++i)
{printf ("%d%d
",j,i);
j = j-3;
}
Answer Posted / chelle
is j= 12?
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
If I have a char * variable pointing to the name of a function ..
can we change the default calling convention in c if yes than how.........?
How can I call a function with an argument list built up at run time?
What is infinite loop?
Why functions are used in c?
Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80
How to define structures? ·
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
List some of the static data structures in C?
What is ponter?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
What is meant by recursion?
What is || operator and how does it function in a program?
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
Explain how do you use a pointer to a function?