Is c an object oriented programming language?
Answer / kamil
No, C is not an object oriented programming language
It's a structural programming language
| Is This Answer Correct ? | 0 Yes | 0 No |
What is d scanf?
Whats wrong with the following function char *string() { char *text[20]; strcpy(text,"Hello world"); return text; }
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?
How can I dynamically allocate arrays?
what is the difference between global variable & static variable declared out side all the function in the file.
Blade logic interview question. 1st round is a written tests with 15 multiple questions from c and c++. All are simple basic question. Like int main () { Int i=65; Return printf(ā%cā, i); } 2nd and 3rd round is technical interview. The position for which I was interview was core UNIX and c. Yes it is for system programming. The company has product name blade server. For their server they are creating their own command for their purpose. Example cd command. We can implement it in a c program by using the chdir() function. So the question asks related to PID, fork, pipe, shared memory, signal. Write a program in c which will act as cp command.
1 Answers BladeLogic, Infosys,
who developed c and why he developed c?
what is an ERP?
what would be the output of the following program? main() { int k = 123; char *ptr; ptr = &k; printf("%d",*ptr); }
swapping of two numbers without using third variable using AND and OR operators
Who had beaten up hooligan "CHAKULI" in his early college days?
what is the size of an integer variable?