I am a bit confused here.
enum DAY /* Defines an enumeration type */
{
saturday, /* Names day and declares a */
sunday = 0, /* variable named workday with */
monday, /* that type */
tuesday,
wednesday, /* wednesday is associated with 3 */
thursday,
friday
} workday;
...
User Profile
Collapse
-
Thanks a lot for your reply...Because I was in a hurry i was not able to post the details....And I was really in need of these things in my office work...
Anywayz thanks for your help..Sorry for getting rude.... -
I know that from google I will get answers for these question. Since I didn't get a satisfying answers I asked in this site.And I got every good answer from this site people.Thanks a lot for your help.Other questions answers also I will get from google then whats the use of this site.Then regarding the output i wanted an explanation. Really sad to get such a reply.And sorry for disturbing you people....Leave a comment:
-
Few Queries Please do answer
Few Queries:
1. Difference between parameters and arguments while calling a function?
2. Difference between memcpy() and memset()?
3. Difference between memcmp() and strcmp()?
4. What happens in this code:
main()
{
char arr[3];
arr[0]=0;
arr[1]='0';
printf("%s,%s,% s",&arr[0],&arr[1],&arr[3],&arr[2]);
}... -
But i want this way...
My screen should look like this for eg:
Enter your password:
When it ask the user to enter password......w en the user enters it should display like this
********
Can u tell me how?...Leave a comment:
-
Assigning Password character
Suppose if i want to enter a password how can i assign a password character like * in C program......Ho w can i input the password displaying the password character -
convert unsigned char to char
Is it posiible to convert unsigned char[] to char[]. If its possible how can I d the conversion. Please help me. -
Thanks a lot for your reply....I really learnt an important thing in C........Leave a comment:
-
Yes I know '&' specify the address to where the int should be stored. Thus we specify the address-of operator (more on this when we get to pointers). Therefore,
scanf("%d", &num);
will put an int into num correctly
But at times
scanf("%d",num) ;
this also work smoothly without any error....Why is that?...Leave a comment:
-
But even for simple input statement i am getting these error..
For eg:
int num;scanf("%d", num);
For this i am getting the same error what should i do to get rid of this..Please help me....Because i can't do any of the programms...Leave a comment:
-
Whats so difficult in this pgming...Is this u really want
<code snipped>Leave a comment:
-
-
Difference between char and unsigned char
Difference between the datatypes char and unsigned char?
When we hav to use them??Please give examples also -
Thanks a lot for your answer...One more doubt How are the datatypes char and unsigned char differentLeave a comment:
-
How to handle the errors memory cannot be read or written
Why does these 2 errors occur:
1.Memory could not be read
2.Memory could not be written
If it occurs how to handle it -
About typedef
Can anyone tell me the use of typedef in C
What will this statement do:
typedef unsigned char byte;
plz help me......
No activity results to display
Show More
Leave a comment: