main()
{
float a=0.3;
printf("%d\n%f",a,a);
}

Answers were Sorted based on User's Feedback



main() { float a=0.3; printf("%d\n%f",a,a); }..

Answer / moorthy

0
0.300000

IN FIRST CASE, DECIMAL PART ARE TRUNCATED. SO THAT ANSWER
IS ZERO.

Is This Answer Correct ?    6 Yes 2 No

main() { float a=0.3; printf("%d\n%f",a,a); }..

Answer / vikram panda

0,0.000000

Is This Answer Correct ?    3 Yes 1 No

main() { float a=0.3; printf("%d\n%f",a,a); }..

Answer / sam

9208
0.000000

Is This Answer Correct ?    1 Yes 1 No

main() { float a=0.3; printf("%d\n%f",a,a); }..

Answer / kittu

JUNK VALUE
0.300000

Is This Answer Correct ?    0 Yes 3 No

main() { float a=0.3; printf("%d\n%f",a,a); }..

Answer / ravi kant sharma

Garbage Value
2.000000

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Engineering AllOther Interview Questions

A rectangular plank (2)1/2 meters wide can be placed so that it is on either side of the diagonal of a square shown below.(Figure is not available) What is the area of the plank?

1 Answers   Google, Mu Sigma,


What is the difference between single&double linked list ?

1 Answers  


Technical Interview Questions – Networking 1. What is an IP address? 2. What is a subnet mask? 3. What is ARP? 4. What is ARP Cache Poisoning? 5. What is the ANDing process? 6. What is a default gateway? What happens if I don't have one? 7. Can a workstation computer be configured to browse the Internet and yet NOT have a default gateway? 8. What is a subnet? 9. What is APIPA? 10. What is an RFC? Name a few if possible (not necessarily the numbers, just the ideas behind them) 11. What is RFC 1918? 12. What is CIDR? 13. You have the following Network ID: 192.115.103.64/27. What is the IP range for your network? 14. You have the following Network ID: 131.112.0.0. You need at least 500 hosts per network. How many networks can you create? What subnet mask will you use? 15. You need to view at network traffic. What will you use? Name a few tools 16. How do I know the path that a packet takes to the destination? 17. What does the ping 192.168.0.1 -l 1000 -n 100 command do? 18. What is DHCP? What are the benefits and drawbacks of using it? 19. Describe the steps taken by the client and DHCP server in order to obtain an IP address. 20. What is the DHCPNACK and when do I get one? Name 2 scenarios. 21. What ports are used by DHCP and the DHCP clients? 22. Describe the process of installing a DHCP server in an AD infrastructure. 23. What is DHCPINFORM? 24. Describe the integration between DHCP and DNS. 25. What options in DHCP do you regularly use for an MS network? 26. What are User Classes and Vendor Classes in DHCP? 27. How do I configure a client machine to use a specific User Class? 28. What is the BOOTP protocol used for, where might you find it in Windows network infrastructure? 29. DNS zones – describe the differences between the 4 types. 30. DNS record types – describe the most important ones. 31. Describe the process of working with an external domain name 32. Describe the importance of DNS to AD. 33. Describe a few methods of finding an MX record for a remote domain on the Internet. 34. What does "Disable Recursion" in DNS mean? 35. What could cause the Forwarders and Root Hints to be grayed out? 36. What is a "Single Label domain name" and what sort of issues can it cause? 37. What is the "in-addr.arpa" zone used for? 38. What are the requirements from DNS to support AD? 39. How do you manually create SRV records in DNS? 40. Name 3 benefits of using AD-integrated zones. 41. What are the benefits of using Windows 2003 DNS when using AD-integrated zones? 42. You installed a new AD domain and the new (and first) DC has not registered its SRV records in DNS. Name a few possible causes. 43. What are the benefits and scenarios of using Stub zones? 44. What are the benefits and scenarios of using Conditional Forwarding? 45. What are the differences between Windows Clustering, Network Load Balancing and Round Robin, and scenarios for each use? 46. How do I work with the Host name cache on a client computer? 47. How do I clear the DNS cache on the DNS server? 48. What is the 224.0.1.24 address used for? 49. What is WINS and when do we use it? 50. Can you have a Microsoft-based network without any WINS server on it? What are the "considerations" regarding not using WINS? 51. Describe the differences between WINS push and pull replications. 52. What is the difference between tombstoning a WINS record and simply deleting it? 53. Name the NetBIOS names you might expect from a Windows 2003 DC that is registered in WINS. 54. Describe the role of the routing table on a host and on a router. 55. What are routing protocols? Why do we need them? Name a few. 56. What are router interfaces? What types can they be? 57. In Windows 2003 routing, what are the interface filters? 58. What is NAT? 59. What is the real difference between NAT and PAT? 60. How do you configure NAT on Windows 2003? 61. How do you allow inbound traffic for specific hosts on Windows 2003 NAT? 62. What is VPN? What types of VPN does Windows 2000 and beyond work with natively? 63. What is IAS? In what scenarios do we use it? 64. What's the difference between Mixed mode and Native mode in AD when dealing with RRAS? 65. What is the "RAS and IAS" group in AD? 66. What are Conditions and Profile in RRAS Policies? 67. What types or authentication can a Windows 2003 based RRAS work with? 68. How does SSL work? 69. How does IPSec work? 70. How do I deploy IPSec for a large number of computers? 71. What types of authentication can IPSec use? 72. What is PFS (Perfect Forward Secrecy) in IPSec? 73. How do I monitor IPSec? 74. Looking at IPSec-encrypted traffic with a sniffer. What packet types do I see? 75. What can you do with NETSH? 76. How do I look at the open ports on my machine?

4 Answers   Drasis, iOPEX, TCS, Wipro,


how to increase the chiller effiency?

0 Answers  


difference between windows 2003 and windows 2008 server

0 Answers   Cisco, Wipro,






how to join the pc to the domain?

1 Answers   Aegis, jetking,


how to use two diffirent gatway in one system

0 Answers  


i m a student of 4th year ,i m unable to get the embassy appointment dates , and it details.............please help any body.My id=john_searching143@yahoo.com

0 Answers  


what is the main fuction of OSPF in a internetwork? how does work of same network?

0 Answers  


what is the definition(body) of a default constructor in c++?

0 Answers  


As a good company employee, can you report your supervisor to the company management if he or she is going against the company interest in his or her actions?

0 Answers   GE,


what is e-bum.

0 Answers   TCS,


Categories
  • Civil Engineering Interview Questions Civil Engineering (5084)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4451)
  • Electrical Engineering Interview Questions Electrical Engineering (16631)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1094)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)