4.A function 'q' that accepts a pointer to a character as
argument and returns a pointer to an array of integer can
be declared as:
A)int (*q(char*)) []
B)int *q(char*) []
C)int(*q)(char*) []
D)None of the Above
Answer Posted / d
general rule: read left to right strating from inner braces
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Write a program to maintain student’s record. Record should
not be available to any unauthorized user. There are three
(3) categories of users. Each user has its own type. It
depends upon user’s type that which kind of operations user
can perform. Their types and options are mentioned below:
1. Admin
(Search Record [by Reg. No or Name], View All Records,
Insert New Record, Modify Existing Record)
2. Super Admin
(Search Record [by Reg. No or Name], View All Records,
Insert New Record, Modify Existing Record, Delete Single Record)
3. Guest
(Search Record [by Reg. No or Name], View All Records)
When first time program runs, it asks to create accounts.
Each user type has only 1 account (which means that there
can be maximum 3 accounts). In account creation, following
options are required:
Login Name: <6-10 alphabets long, should be unique>
Password: <6-10 alphabets long, should not display
characters when user type>
Confirm Password:
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
Why use int main instead of void main?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
What is printf () in c?
What is string function c?
What are comments and how do you insert it in a C program?
What is the use of getchar functions?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
Is c is a low level language?
If null and 0 are equivalent as null pointer constants, which should I use?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
why wipro wase
What is void main ()?
In C language, a variable name cannot contain?