Solve This (? + ? + ?=30)
If 1111=R, 2222=T, 3333=E, 4444=N Then 5555=?
Guess the Hindi Muhawara from the following whatsapp Emoticons?
Sweet, Medicine, Film, Girl, City, Car, Place, Doggy all are name same, guess which word it is?
A girl is blind, deaf, dumb and uneducated too. A boy loves her. How would he propose without touching her?
Four Question, One Answer: One River Name, One Flower Name, One Film Name, One Actress Name?
Guess me who am I, I am the first on earth, the second in heaven...
Which Indian cricketer is known as "Brown Bradman"?
What, the largest of its type at the time, was destroyed by fire at Alexandria in the first century BC?
What decided the International Olympic Committee to hold the Tokyo 2020 Summer Olympics a year later, in 2021?
Eg:(())()) - Invalid expression, (()()) - Valid expression?
* C Program to Check if Expression is correctly Parenthesized
int top = -1;
// function prototypes
for (i = 0; a[i] != '\0';i++)
if (a[i] == '(')
else if (a[i] == ')')
// to push elements in stack
void push(char a)
stack[top] = a;
// to pop elements from stack
if (top == -1)
printf("expression is invalid\n");
// to find top element of stack
if (top == -1)
printf("\nexpression is valid\n");
printf("\nexpression is invalid\n");
It was asked today in interview but could not crack it, any help.
static int x;
fun() = 10;
printf(" %d ", fun());
It is fine with c++ compiler while giving error with c compiler.
Forgot Your Password?
2018 © Queryhome