what is c programming?
Answers were Sorted based on User's Feedback
Answer / keerthi
c is procedure oriented programming language. In c program
execution starts from main().c is basic language for some
languages like c++,java etc.c is platform dependent and case
sensitive language.
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / renisha
c is powerful system language even which user are using to
compiler as source code. it used input and display the output.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / priyanka mali
C Is the procedure oriented language, basically uses firstly
compilers which accepts source code from compliers as input
and produces .exe as output.it is a first usr friendly
language which takes input in the form of statements / usr
language and givesdesired outpu.
| Is This Answer Correct ? | 1 Yes | 0 No |
What are pointers really good for, anyway?
Explain Doubly Linked Lists?
Write a function that accepts a sentence as a parameter, and returns the same with each of its words reversed. The returned sentence should have 1 blank space between each pair of words. Demonstrate the usage of this function from a main program. Example: Parameter: “jack and jill went up a hill” Return Value: “kcaj dna llij tnew pu a llih”
for questions 14,15,16,17 use the following alternatives:a.int b.char.c.string.d.float
What is else if ladder?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
#include<stdio.h> int f(int,int); int main() { printf("%d",f(20,1)); return 0; } int f(int n,int k) { if(n==0) return 0; else if(n%2)return f(n/2,2*k)+k; else return f(n/2,2*k)-k; } how this program is working and generating output as 9....?
What is encapsulation?
4.weight conversion: Write a program that will read weight in pounds and convert it into grams.print both the original weight and the converted value.There are 454 grams in a pound.design and carry out a test plan for this program.
what are the stoge class in C and tel the scope and life time of it?
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
What is the use of the function in c?