How to add two numbers without using semicolon n c????
Answers were Sorted based on User's Feedback
Answer / sorab aggarwal
#include<conio.h>
#include<stdio.h>
void main()
{
if(printf("%d",5+6))
{}
getch();
}
| Is This Answer Correct ? | 27 Yes | 8 No |
Answer / ashish lamse
#include<iostream.h>
#include<stdio.h>
#include<conio.h>
void main()
{
if(cout<<"add of two no="<<10+20)
{}
if(getch())
{}
}
| Is This Answer Correct ? | 4 Yes | 1 No |
Can one function call another?
What are the advantages and disadvantages of pointers?
write a program to find the frequency of a number
write a program to sum of its digit with using control structure or with out using loop. for ex: let the number is 25634 then answer will be=2+5+6+3+4=20
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
You have an int array with n elements and a structure with three int members. ie struct No { unsigned int no1; unsigned int no2; unsigned int no3; }; Point1.Lets say 1 byte in the array element is represented like this - 1st 3 bits from LSB is one number, next 2 bits are 2nd no and last 3 bits are 3rd no. Now write a function, struct No* ExtractNos(unsigned int *, int count) which extracts each byte from array and converts LSByte in the order mentioned in point1.and save it the structure no1, no2, no3. in the function struct No* ExtractNos(unsigned int *, int count), first parameter points to the base address of array and second parameter says the no of elements in the array. For example: if your array LSB is Hex F7 then result no1 = 7, no2 = 2, no3 = 7. In the same way convert all the elements from the array and save the result in array of structure.
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
0 Answers College School Exams Tests,
what value is returned to operating system after program execution?
Find if a number is power of two or not?
What is the scope of static variables in c language?
Can we change the value of #define in c?
Why doesnt that code work?