Does c have an equivalent to pascals with statement?
No Answer is Posted For this Question
Be the First to Post Answer
How will you find a duplicate number in a array without negating the nos ?
Given an array of characters, how would you reverse it? How would you reverse it without using indexing in the array?
Write a program to display the no of bit difference between any 2 given numbers eg: Num1 will 12->1100 Num2 will 7->0111 the difference in bits are 2.
Explain union.
What does *p++ do? What does it point to?
What is the use of getchar() function?
How can you determine the size of an allocated portion of memory?
There is a 100-story building and you are given two eggs. The eggs (and the building) have an interesting property that if you throw the egg from a floor number less than X, it will not break. And it will always brake if the floor number is equal or greater than X. Assuming that you can reuse the eggs which didn't broke; you got to find X in a minimal number of throws. Give an algorithm to find X in minimal number of throws.
#include<stdio.h> #include<conio.h> void main() { clrscr(); int a=0,b=0,c=0; printf("enter value of a,b"); scanf(" %d %d",a,b); c=a+b; printf("sum is %d",c); getch(); }
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE
Explain how can I remove the trailing spaces from a string?
code for quick sort?