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
enum is a special datatype , whatever we have intilized under enum only we can able to use in our program , hope so ur program contains only enum datatype from that u are giving value for each month through switch case......
so here wat i think is that after u give 11, ie 12th month since u are starting from 0 , if u give 12 inside enum , only 12 entries are there and already u have made use of it.... so again it will start from january only.......
thank u
| Is This Answer Correct ? | 0 Yes | 1 No |
what is the output of the following program? #include<stdio.h> void main() { float x=1.1; while(x==1.1) { printf("\n%f",x); x=x-0.1; } }
simple program of graphics and thier outpu display with a want what is out put of graohics in c language
Write a C program to convert an integer into a binary string?
What is conio h in c?
write a program that print itself even if the source file is deleted?
swap 2 numbers without using third variable?
Explain what does the function toupper() do?
What does the function toupper() do?
Write a program in c using only loops to print * * * * * *******
Write a program to reverse a given number in c language?
write a own function for strstr
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.