how do u initialize the constant variables

Answer Posted / yughandhar

as for my knowledge,the constant variables are intialised by
keyword called DEFINE
Eg:
#define pie=3.14

Is This Answer Correct ?    4 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program that takes input in digits and display the result in words from 1 to 1000

2085


Which is not an object oriented programming language?

625


What are the two different types of polymorphism?

772


What is the difference between static polymorphism and dynamic polymorphism?

721


What is polymorphism and example?

666






Why it is called runtime polymorphism?

677


What is object in oop?

782


How do you use inheritance in unity?

680


What is balance factor?

685


What type of loop is a for loop?

777


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2258


What is purpose of inheritance?

749


What is class encapsulation?

709


Can a destructor be called directly?

689


what is the sylabus for priliminaries?

1797