what is the difference between definition and declaration?
give me some examples.
Answer Posted / mohammed anas
declaration:
for example,int i;
definition:
declaration as well as initialisation is known as definition
for example int i=25;
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Why is c still so popular?
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
Define Spanning-Tree Protocol (STP)
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
what is stack , heap ,code segment,and data segment
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
Which is best linux os?
Write a program to reverse a given number in c?
What is difference between Structure and Unions?
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
Write a Program to accept different goods with the number, price and date of purchase and display them
Can we assign integer value to char in c?
Differentiate between null and void pointers.
How can I pad a string to a known length?