Get premium membership and access questions with answers, video lessons as well as revision papers.
Rules for naming identifiers
~name should only consist of alphabets{both uppercase and lowercase}digits and underscore(-)sign.
~First characters should be alphabet or underscore.
~name should not be a keyword.
~identifiers should be given in some meaningful names such as value,net-salary e.t.c.
~since c is a case senstive the uppercase and lowercase are considered differently i.e code,CODE,Code e.t.c are different identifiers.
Softwaretech answered the question on March 12, 2019 at 20:57
- Give 2 uses of a comment line as used in c language.(Solved)
Comment line indicates the purpose of the program and is represented as /*..........*/.
Comment line can be single or multiple line but should not be nested,can be anywhere in a program except inside a string and character constant.
Date posted: March 12, 2019. Answers (1)
- Explain the characteristics of a computer Relational Model concept.(Solved)
Explain the characteristics of a computer Relational Model concept.
Date posted: March 12, 2019. Answers (1)
- Discuss types of computer ER Model concepts. (Solved)
Discuss types of computer ER Model concepts.
Date posted: March 12, 2019. Answers (1)
- Explain a two tier client server architecture and a three tier client architecture found in computers(Solved)
Explain a two tier client server architure and a three tier client architecture found in computers.
Date posted: March 12, 2019. Answers (1)
- Describe the main Main Characteristics of the Database Approach as used in database models.(Solved)
Describe the main Main Characteristics of the Database Approach as used in database models.
Date posted: March 9, 2019. Answers (1)
- State types of databases used in computer science.(Solved)
State types of databases used in computer science.
Date posted: March 9, 2019. Answers (1)
- Write a java program that allows user to input three numbers and output the largest of the three number after program compilation (Solved)
Write a java program that allows user to input three numbers and output the largest of the three number after program compilation.
Date posted: March 5, 2019. Answers (2)
- Compare and contrast Multiprogramming, Multitasking and Multiprocessing(Solved)
Compare and contrast Multiprogramming, Multitasking and Multiprocessing
Date posted: March 5, 2019. Answers (1)
- Write a C function that has three inputs which are integers. The function returns true if the
first number raised to the power of the second...(Solved)
Write a C function that has three inputs which are integers. The function returns true if the
first number raised to the power of the second number equals the third number.
Date posted: March 5, 2019. Answers (1)
- Write a C function that computes that maximum of a specific row R in a 2D array of size 6 by 5.(Solved)
Write a C function that computes that maximum of a specific row R in a
2D array of size 6 by 5.
Date posted: March 5, 2019. Answers (1)
- What will be the output of the following c program?(Solved)
#include
int *p, x;
int a[5]={100,200,300,400,500};
int *p2;
int main()
{
p=NULL;
x=500;
p=&x;
printf("1) %d %d \n",x,*p,p,&x,&p);
p2=a;
*(p2+1)=*p;
*p= *p2 + *(p2+2);
printf("2) %d %d \n",x,*p,*p2);
return 0;
}
Date posted: March 5, 2019. Answers (1)
- What is the relationship between threads and processes?(Solved)
What is the relationship between threads and processes in computer operating system?
Date posted: March 5, 2019. Answers (1)
- What is the function of the ready queue?(Solved)
Explain the function of ready queue as in operating system
Date posted: March 5, 2019. Answers (1)
- Define the following as used in visual basic programming
1.Variables
2.Constant(Solved)
Define the following as used in visual basic programming
1.Variables
2.Constant
Date posted: January 28, 2019. Answers (1)
- What is Cryptography?(Solved)
What is Cryptography?
Date posted: December 27, 2018. Answers (1)
- What is an Operating System(OS)?(Solved)
What is an Operating System(OS)?
Date posted: December 27, 2018. Answers (1)
- What is cryptocurrency?(Solved)
Explain the meaning of cryptocurrency as used in the digital world and how it works.
Date posted: December 26, 2018. Answers (1)
- What is TCP Chimney Offload?(Solved)
What is TCP Chimney Offload?
Date posted: December 24, 2018. Answers (1)
- How do you use the disk-part command to assign a drive a letter?
(Solved)
This question is for all IT students,meaning that it is a basic thing to know for all people dealing with computing,especially programmers.The answer shows how to exactly assigning a drive a letter using the command prompt,it is an easy to learn question.This brings us to the disk-part command which is what the question is asking.
Date posted: December 24, 2018. Answers (1)
- How do you stop the ping command?
(Solved)
This question is a university question talking about an example of a command in the command prompt window,the ping command.One might find a big sense in this question by just researching on the answer more.
Date posted: December 24, 2018. Answers (1)