thank you very much..
Type: Posts; User: beginningC
thank you very much..
@Jim
Thank you very much. My problem is solved by inserting a space before the character specifier. But I could not actually get what happend.
As you said the '\n' on hitting ENTER is left in...
I am having problem with the following code; plz help.....
#include<stdio.h>
struct book
{
char name;
float price;
int pages;
Thanlk u all.....
Actually I was trying to find out what does it return when I dont specify what to return.
I expected garbage but it gave the correct answer(in gcc, ubuntu. I am not much concerned about the...
#include<stdio.h>
int calsum(int x,int y,int z);
void main()
{
int a,b,c,sum;
printf("\nENter any three numbers\n");
scanf("%d\n%d\n%d",&a,&b,&c) ;
sum=calsum(a,b,c);
...