Explain what is the difference between declaring a variable and defining a variable?
Answer / ss
Declaring variable means
Eg- int a;
Defining variable means we are giving some integer value to that a variable
Eg- a=100;
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain how can I right-justify a string?
In C language what is a 'dangling pointer'?
Write a program for finding factorial of a number.
count the numbers between 100 and 300, that star with 2 and ends with 2
What is the c language function prototype?
What is use of #include in c?
How can I sort a linked list?
Write a program to add a given duration with time(24hrs format)
There is a number and when the last digit is moved to its first position the resultant number will be 50% higher than the original number.Find the number?
pointer_variable=(typecasting datatype*)malloc(sizeof(datatype)); This is the syntax for malloc?Please explain this,how it work with an example?
2 Answers eClerx, Excel, kenexa,
program to find the ASCII value of a number
What is a macro?