Is struct oop?
No Answer is Posted For this Question
Be the First to Post Answer
What is the data segment that is followed by c?
the question is that what you have been doing all these periods (one year gap)
What is external variable in c?
which header file contains main() function in c?
17 Answers Google, HCL, TCS,
suppose we use switch statement and we intilize years name using enum statement like(jan,feb,mar,------dec) we take integer value as an input .question is that the month which we analyz is from 0 to 11 bt if i enter 12 than how he again starts from begning and print jan
main() { printf(5+"Vidyarthi Computers"); }
What are the types of type specifiers?
Reverse the bit order in a single macro. eg. i/p = 10010101 --> o/p = 10101001
There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side? Upload a C program to demonstrate the behaviour of the game.
#include <stdio.h> void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf ("%d%d",k,l) ; }
void main() { int a=1; printf("%d %d %d",a,++a,a++); } the output is supposed to be 1 2 2....but it is 3 3 1 this is due to calling conventions of C. if anyone can explain me how it happens?
Write a C program to find the smallest of three integers, without using any of the comparision operators.