Why can’t constant values be used to define an array’s initial size?


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

Post New Answer

More C Interview Questions

What is the argument of a function in c?

0 Answers  


Why isnt there a numbered, multi-level break statement to break out

0 Answers  


what is the difference between class and unio?

0 Answers   HCL, Wipro,


Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

0 Answers  


Do you know the difference between malloc() and calloc() function?

0 Answers  






Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.

0 Answers   Amazon,


Is c high or low level?

0 Answers  


What is Dynamic memory allocation in C? Name the dynamic allocation functions.

1 Answers  


Write a C/C++ program that connects to a MySQL server and checks intrusion attempts every 5 minutes. If an intrusion attempt is detected beep the internal speaker to alert the administrator. A high number of aborted connects to MySQL at a point in time may be used as a basis of an intrusion.

2 Answers   Drona Solutions, Infosys, Vodafone, Webyog,


In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.

0 Answers  


Explain union. What are its advantages?

0 Answers  


What is ponter?

0 Answers   TCS,


Categories