Explain enumerated types in c language?
No Answer is Posted For this Question
Be the First to Post Answer
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
What is pointer to pointer in c language?
What is use of pointer?
How can you allocate arrays or structures bigger than 64K?
number 2 plssssss help !!....using array.. turbo c.. create a program that will accept a number and determine if it is a happy number or an unhappy number.. example: enter a number : 7 7*7=49 then 4 and 9 4*4 and 9*9== 16 + 18 gives you 97 then 9 and 7 9*9 and 7*7 == 81 + 49 gives you 130 then 1 and 3 1*1 and 3*3 == 1 + 9 gives you 10 1*1 gives you 1 sample output: 7= 49= 16+81= 97= 81+49=130 =1+9=10 =1 "7 is a happy number" . if the last number is 2 then the number being inputed is not a happy number.
What is the benefit of using #define to declare a constant?
Write a simple code fragment that will check if a number is positive or negative.
write a c programme for add of two numbers with out use of arthematic operators
What are the different flags in C? And how they are useful? And give example for each in different consequences?
Why cant I open a file by its explicit path?
Write a C program that defines a 2-dimentional integer array called A [50][50]. Then the elements of this array should randomly be initialized either to 1 or 0. The program should then print out all the elements in the diagonal (i.e. a[0][0], a[1][1],a[2][2], a[3][3], ……..a[49][49]). Finally, print out how many zeros and ones in the diagonal.
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)