Program to find larger of the two numbers without using if-else,while,for,switch
Answers were Sorted based on User's Feedback
Answer / vara
#include<stdio.h>
void main()
{
int a=4,b=5;
a>b?printf("a is greater than big"):b is pig
}
| Is This Answer Correct ? | 10 Yes | 25 No |
Is the exit() function same as the return statement? Explain.
0 Answers Agilent, ZS Associates,
Do you know the use of 'auto' keyword?
What is a C array and illustrate the how is it different from a list.
Print all numbers which has a certain digit in a certain position eg: number=45687 1 number=4 2 number=5 etc
What are the ways to a null pointer can use in c programming language?
What is int main () in c?
int *p=20; if u print like dis printf("%d",p); o\p:- 20; how is it possible? plz give me the explanation.
Please list all the unary and binary operators in C.
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
long int size a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes
18 Answers Acropolis, HCL, Intel, TCS,
How would you obtain the current time and difference between two times?
main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); } what is the output?