what is unsigened char
and what is the difference from char
Answers were Sorted based on User's Feedback
char langth is -128 to 127
and unsigned char have no neathive value so langth is
increase 256 .
this is the main differece.
manish soni TBC jaipur
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / guest
insigned character occupies the -127 to +128 bits .
char it occupies only one byte
| Is This Answer Correct ? | 0 Yes | 1 No |
Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; } } Which Statement is/are True w.r.t the above code? I.Executes Successfully & Prints the contents of the array II.Gives the Error:Lvalue Required III.The address of the array should not be changed IV.None of the Above. A)Only I B)Only II C)II & III D)IV
Compare interpreters and compilers.
How do you redirect a standard stream?
Is it possible to create recycle bin in mobiles?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
What is preprocessor with example?
What is a far pointer?What is the utility?
Write a C program linear.c that creates a sequence of processes with a given length. By sequence it is meant that each created process has exactly one child. Let's look at some example outputs for the program. Here the entire process sequence consists of process 18181: Sara@dell:~/OSSS$ ./linear 1 Creating process sequence of length 1. 18181 begins the sequence. An example for a sequence of length three: Sara@dell:~/OSSS$ ./linear 3 Creating process sequence of length 3. 18233 begins the sequence. 18234 is child of 18233 18235 is child of 18234 ........ this is coad .... BUt i could not compleate it .....:( #include <stdio.h> #include <sys/types.h> #include <unistd.h> #include <stdlib.h> int main(int argc, char *argv[]) { int N; pid_t pid; int cont; if (argc != 2) { printf("Wrong number of command-line parameters!\n"); return 1; } N = atoi(argv[1]); printf("Creating process sequence of length %d.\n",N); printf("%d begins the sequence.\n",getpid()); /* What I have to do next ?????? */ }
What are the advantage of c language?
What is a buffer in c?
int a[3][5]={ {1,2,3,4,5],{2,3,4,5,6},{10,11,12,13,14}}; int *p=&a; printf(ā%dā,*(*(x+1)+3));
Why is struct padding needed?