Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 15-01-2009
Member
 
Join Date: Jan 2009
Location: indore
Posts: 8
idea Difference between Implicit and Explicit Declaration

What are the Diffrence between Implicit and Explicit Declaration. Plz give me the Answer.
Reply With Quote
  #2  
Old 15-01-2009
Member
 
Join Date: May 2008
Posts: 53
re: Difference between Implicit and Explicit Declaration

What is the difference between implicit and explicit meaning?

Hope this help you : Explicit meaning is when the words tell you exactly what the situation is. These are things like rules, the weather on a specific day and other concepts that are very specific and not open to interpretation.

Implicit is something you understand from the choice of words (nuance is a fancy word for this) or otherwise figure out from your own experience. For instance, if you are reading a book on Sherlock Holmes and you read about the moors and it being a dark and dreary night...you will feel it from your own experiences with rainy nights. You know that you have limited visibility, will not get a suntan that night and other subjective information.
Reply With Quote
  #3  
Old 15-01-2009
XSI XSI is offline
Member
 
Join Date: May 2008
Posts: 271
re: Difference between Implicit and Explicit Declaration

Quote:
Originally Posted by vinodpathak_214 View Post
What are the Diffrence between Implicit and Explicit Declaration. Plz give me the Answer.
By that I think you might be talking about the implicit and explicit declaration using some programming languages such as C++, C#, VB, etc...

Generally in any language an implicit variable/function is a variable/function which is declared inside some block (some loop or some method or a class...) whereas an explicit variable/function is a variable/function that is declared outside the block.
Reply With Quote
  #4  
Old 16-01-2009
Member
 
Join Date: May 2008
Posts: 2,008
re: Difference between Implicit and Explicit Declaration

Implicit and explicit determine what can be passed to a method. If a method is not declared as explicit the compiler will attempt to look for any implicit conversions from the type being passed to the type the method expects. for example, if the method expects a long and you pass in an unsigned char, the compiler will not complain because an unsigned char can be implicitly converted to a long without any loss of data. If you declare the method as explicit the data type that is used in the method declaration is the data type that needs to be passed to the method. If you want to pass a char *ptr to a method that expects a long you will have to cast the char *ptr to a long when calling the method. For example, foo((long)ptr);
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Difference between Implicit and Explicit Declaration"
Thread Thread Starter Forum Replies Last Post
What is difference between implicit type casting and explicit type casting in C++? Palnila Software Development 4 02-01-2011 12:25 AM
Difference between Implicit & Explicit type conversions Sarfaraj Khan Software Development 5 09-02-2010 02:47 PM
Meaning of Explicit and Implicit Conversion Sheenas Software Development 5 30-01-2010 12:42 PM
How to avoid the warnings "implicit declaration" Jacek Software Development 4 10-04-2009 11:43 PM
What is the difference between Declaration and Instantiation an object? ArunJ Software Development 1 28-02-2009 07:10 PM


All times are GMT +5.5. The time now is 04:33 AM.