printy(a=3,a=2)
Answers were Sorted based on User's Feedback
Answer / vignesh1988i
this is the user writtern function...... this is function
definition statement..... it wont recoganize this statement
because no memory will be allocated for this a=3 or 2...
since we didnt declare it first of all/.. this may be the
error
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / guest
if we want to show result as a=3,a=2..then it ll be written
as
printf("a=3,a=2");
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / parthibanselvaraj
the printf function canbe redefined by your program using
typedef and try this.
Is This Answer Correct ? | 1 Yes | 0 No |
2. A student studying Information Technology at Polytechnic of Namibia is examined by coursework and written examination. Both components of assessment carry a maximum of 50 marks. The following rules are used by examiners in order to pass or fail students. a. A student must score a total of 40% or more in order to pass (total = coursework marks + examination marks) b. A total mark of 39% is moderated to 40% c. Each component must be passed with a minimum mark of 20/50. If a student scores a total of 40% or more but does not achieve the minimum mark in either component he/she is given a technical fail of 39% (this mark is not moderated to 40%) d. Grades are awarded on marks that fall into the following categories. Mark 100-70 69-60 59-50 49-40 39-0 Grade A B C D E Write a program to input the marks for both components (coursework marks out of 50 and examination marks out of 50), out put the final mark and grade after any moderation. [30]
what is run time error?
char* f() return "hello:"; void main() {char *str=f(); }
Given an int variable n that has been initialized to a positive value and, in addition, int variables k and total that have already been declared, use a do...while loop to compute the sum of the cubes of the first n whole numbers, and store this value in total . Thus if n equals 4, your code should put 1*1*1 + 2*2*2 + 3*3*3 + 4*4*4 into total . Use no variables other than n , k , and total .
How to reverse a linked list without using array & -1? Thank you.
What is the out put of this programme? int a,b,c,d; printf("Enter Number!\n"); scanf("%d",&a); while(a=!0) { printf("Enter numbers/n"); scanf("%d%d%d",&b,&c,&d); a=a*b*c*d; } printf("thanks!"); getche(); Entering numbers are a=1,b=2,c=3,d=4 b=3,c=4,d=-5 b=3,c=4,d=0
Write a c-programe that input one number of four digits and find digits sum?
What are the different types of errors in C and when they occur?
what is meant by linking error? how can i solve it? if there is a linking error " unable to open file 'cos.obj'? then what should i do?
main() { char c; for(c='A';c<='Z';c++) getch(); }
difference between c/c++ programing language? what is necessesity of c++ when existing c programing language?
Write a program to accept two strings of Odd lengths. Then take all odd characters from one string and even characters from the other and concatenate and produce a string.