who developed c and why he developed c?
Answers were Sorted based on User's Feedback
Answer / shaff85
c developed by "dennis ritchie", before programming languages
has less features such as in "BCPL" and "B" earlier
languages before 'C', later Mr.ritchie came up with structured
programming languages with
1) rich set of operators
2)rich set of data types
3)pointers and pointer arthimetic
| Is This Answer Correct ? | 26 Yes | 0 No |
Answer / krishna kanhaiya
dennis ritche are modified in "c" language .ken thomson are
sevloped in "B" language and that language modifier is
dennis ritche ...........
i am not sure write ya wrong
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / himaja
1.kthomson and denicsh ritch
2.Dennis Ritchie founded C at AT&T Bell Labs.@Nayanprakash..the two people u mentioned are not involved in finding C but "B" it was a language founded before C..
Originally developed by DENNIS RITCHIE in 70's Outgrowth of two earlier languages called BCPL and B.978,When Kernighan and Ritchie published a definitive description of the language.
..3.c was evolved from ALGOL, BCPL AND B by dennis ritchie at
bell lab in 1972..
4. language is also called as typeless lanugage, developed by ken thompson while writing unix. so Dennies ritchie written C compiler contains data types. then Unix written in C language
5.I am saying here only the best solution for this question "Ken thomson's B language + Dennis Ritche's cCompiler= Complete C language"
| Is This Answer Correct ? | 1 Yes | 0 No |
Explain high-order bytes.
What is static and volatile in c?
I need testPalindrome and removeSpace #include <stdio.h> #define SIZE 256 /* function prototype */ /* test if the chars in the range of [left, right] of array is a palindrome */ int testPalindrome( char array[], int left, int right ); /* remove the space in the src array and copy it over to the "copy" array */ /* set the number of chars in the "copy" array to the location that cnt points t */ void removeSpace(char src[], char copy[], int *cnt); int main( void ) { char c; /* temporarily holds keyboard input */ char string[ SIZE ]; /* original string */ char copy[ SIZE ]; /* copy of string without spaces */ int count = 0; /* length of string */ int copyCount; /* length of copy */ printf( "Enter a sentence:\n" ); /* get sentence to test from user */ while ( ( c = getchar() ) != '\n' && count < SIZE ) { string[ count++ ] = c; } /* end while */ string[ count ] = '\0'; /* terminate string */ /* make a copy of string without spaces */ removeSpace(string, copy, ©Count); /* print whether or not the sentence is a palindrome */ if ( testPalindrome( copy, 0, copyCount - 1 ) ) { printf( "\"%s\" is a palindrome\n", string ); } /* end if */ else { printf( "\"%s\" is not a palindrome\n", string ); } /* end else */ return 0; /* indicate successful termination */ } /* end main */ void removeSpace(char src[], char copy[], int *cnt) { } int testPalindrome( char array[], int left, int right ) { }
write a program to find the number of even integers and odd integers in a given array in c language
13 Answers IAI Cameroun, NIIT, Olive Tech, QIS,
Why is void main used?
post new interiew question and aptitude test papers
What is the advantage of c?
main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); }
Why pointers are used?
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 ?????? */ }
dynamically allocate memory for linear array of n integers,store some elements in it and find some of them
Explain what is meant by 'bit masking'?