printy(a=3,a=2)



Answers were Sorted based on User's Feedback



printy(a=3,a=2) ..

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

printy(a=3,a=2) ..

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

printy(a=3,a=2) ..

Answer / parthibanselvaraj

the printf function canbe redefined by your program using
typedef and try this.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C C++ Errors Interview Questions

what is meant for variable not found?

3 Answers  


Given an int variable n that has already been declared and initialized to a positive value, and another int variable j that has already been declared, use a do...while loop to print a single line consisting of n asterisks. Thus if n contains 5, five asterisks will be printed. Use no variables other than n and j .

2 Answers  


Declaration of Cube Guys please help me.. Is this a right way to declare cube.? If i Compile it. It Says: Cube undeclared what should i do? Please help \thanks in advanced #include<stdio.h> #include<math.h> #include<conio.h> main( ) { float x,y; while(x++<10.0) { printf("Enter Number:"); scanf("%d", &x); y = cube(x); printf("%f %f %f \n", x,pow(x,2),y); cube(x); } { float x; float y; y = x*x*x; } getch(); return (y); }

2 Answers  


write a profram for selection sort whats the error in it?

2 Answers  


How to reverse a linked list without using array & -1? Thank you.

2 Answers   Access, Satyam,






write the value of x and y after execution of the statements: int x=19,y; y=x++ + ++x; x++; y++;

0 Answers  


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.

1 Answers  


I'm having trouble with coming up with the correct code. Thank You!! The assignment was to write a program using string functions that accepts a price of an item and displays its coded value. The base of the keys: X C O M P U T E R S 0 1 2 3 4 5 6 7 8 9 Sample I/O Dialogue: Enter Price: 489.50 Coded Value: PRS.UX

0 Answers  


full c programming error question based problem

3 Answers   HCL, TCS,


void main() { int i=5,y=3,z=2,ans; clrscr(); printf("%d",++i + --z + i++ + --i * ++y); i=5,y=3,z=2; ans=++i + --z + i++ + --i * ++y; printf("\n%d",ans); getch(); } Its output is 37 and 31.... Please explain me why its different How it works.....

2 Answers  


what are the techniques for reducing the fragility of a memory bug?

1 Answers  


#include"stdio.h" #include"conio.h" void main() { int a; printf("\n enter a number:"); scanf("%c\n"); getch(); }

12 Answers   HCL,


Categories