Problem with Wire library call from main()

Wildbill thanks for the reply :), Is there any workaround to achieve the same using the first, Actually this is just a part of a larger program which uses main().