Tell me can the size of an array be declared at runtime?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Toggle nth bit in a given integer - num

5 Answers   Qualcomm,


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: <must match with the Password, should not display characters when user type> Account Type: <One character long, A or S or G where A for Admin, S for Super Admin, G for Guest> Login Name, Password and Account Type should be stored in a separate file in encrypted form. (Encryption means that actual information should be changed and Decryption means that Encrypted information is changed back to the actual information) If any of the above mentioned requirement(s) does not meet then point out mistake and ask user to specify information again. When Program is launched with already created accounts, it will ask for user name and password to authenticate. On successful authentication, give options according to the user’s type.

0 Answers  


a value that does not change during program execution a) variabe b) argument c) parameter d) none

0 Answers  


Can the curly brackets { } be used to enclose a single line of code?

0 Answers  


how we can make 3d venturing graphics on outer interface

1 Answers   Microsoft,






Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.

0 Answers  


void main() { //char ch; unsigned char ch; clrscr(); for(ch =0;ch<= 127; ch++) printf(" %c= %d \t ", ch, ch); } output?

4 Answers   Groupon,


write a program that print itself even if the source file is deleted?

2 Answers  


what is meant by the "equivalence of pointers and arrays" in C?

3 Answers   Satyam,


program to find the roots of a quardratic equation

1 Answers  


What is the code in while loop that returns the output of given code?

0 Answers  


What is Conio.h ?

2 Answers   TCS,


Categories