GeekInterview.com
Login  |   Register

  GeekInterview Online Testing Center Online Testing (31)
Brain Gym Brain Gym (1)Certification Certification (0)Java Java (9)Microsoft Microsoft (7)Networking Networking (1)Technology Technology (11)Testing Testing (2)

  C Practice Test


What would be the output of the following program?
main()
{
const int x=5;
int *ptrx;
ptrx=&x;
*ptrx=10;
printf("%d",x);
}
             5
             10
             Error
             Garbage Value
 
  Question 52 of 52 First  |   Previous  |   Last  |   Next  |  

Related Questions
# Question Details
1 Does garbage collection guarantee that a program will not run out of memory
2 What is the argument type of a program's main() method
3 What is the Locale class
4 What is the difference between a Window and a Frame
5 What is the return type of a program's main() method
6 What is the purpose of garbage collection
7 What is the ResourceBundle class
8 What are the Object and Class classes used for
9 When is an object subject to garbage collection
10 What are active transformation / Passive transformations?


Related Articles

ODP.NET - Handling Nulls when Working with OracleDataReader

ODP NET Handling Nulls when Working with OracleDataReader When we work with OracleDataReader or for that matter even with data rows in a data table we may come across nulls The following is the efficient way to deal in with such scenarios mosgoogle geshibot language VB NET" create connect
 

ODP.NET - Working with DataTableReader

ODP NET Working with DataTableReader DataTableReader is complementary to a DataTable object and is mainly used as a type of Data Reader in the disconnected mode The following is the modified code mosgoogle geshibot language VB NET" create connection to db Dim cn As New OracleConnection D
 

ODP.NET - Retrieving a Single Row of Information Using OracleDataAdapter

ODP NET Retrieving a Single Row of Information Using OracleDataAdapter In the previous example we worked with a set of rows in the DataTable object Now we shall work with a particular row using the DataTable object The following code accepts an employee number from the user and gives you the details
 

ODP.NET - Filling a DataTable Using OracleDataReader

ODP NET Filling a DataTable Using OracleDataReader So far we have been filling data tables using OracleDataAdapter ADO NET 2 0 gives us the flexibility to fill a data table using OracleDataReader as well The following code gives you the details of all employees available in the emp table by filling
 

ODP.NET - Retrieving Multiple Rows on to the Grid

ODP NET Retrieving Multiple Rows on to the Grid In the previous section we tried to retrieve only one row using OracleDataReader In this section we will try to retrieve more than one row or a result set and populate a DataGridView on a WinForm mosgoogle The following code lists out the details of al
 

IPv6

IPv6 The Internet protocol Version 6 or the IPv6 is the next generation Internet protocol that will be replacing the current Internet protocol The current version that is being used is the Internet Protocol; Version 4 which has almost lasted for almost 2 decades mosgoogle Also the main reason for t
 

High-Speed Serial Interface (HSSI)

High Speed Serial Interface HSSI HSSI is High Speed Serial Interface was first developed by Cisco systems and the main purpose was to solve high speed requirement issues The main application of HSSI is on the Wide Area Networks and it helps to enhance the data flow speed on these networks It can wor
 

Print Servers

Print Servers Print server is a server or advice that is used to connect many printers of a network to it Using the print server any computer on the network can give a print command to the server and the print server will get the job done accordingly Usually a print server is configured on a compute
 

Web Server

Web Server A web server can be a program or the computer itself which receives the requests from various other browsers and responds to those requests These requests are all requests that are being sent for some documents There are two kinds of web servers available The web server program and the
 

jQuery Table Row Finished Code

jQuery Table Row Finished Code The Finished Code Our second example page has demonstrated table row striping highlighting tooltips collapsing expanding and filtering Taken together the JavaScript code for this page is mosgoogle geshibot lang php" document ready function var highlighted
 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Partner Links  |   Site Updates  |   Add Resource

Copyright © 2005-2006 GeekInterview.com. All Rights Reserved